7.0.0 • Published 5 years ago

svn-dav-fs v7.0.0

Weekly downloads
31
License
BSD-2-Clause
Repository
github
Last release
5 years ago

npm Greenkeeper semantic-release styled with prettier Build Status codecov.io Known Vulnerabilities GitHub Issues Dependency Status devDependency Status docs downloads Commitizen friendly

svn-dav-fs

handler for 'svn+https' url scheme (plain js svn dav fs)

API

Table of Contents

SVNHTTPSScheme

Extends HTTPSScheme

URL scheme 'svn+https' svn over https

optionsRequest

Execute options request

Parameters

Returns Promise<Request>

activityCollectionSet

query for the activity collection set.

Parameters

  • context Context execution context
  • url URL

Returns Promise<ActivityCollectionSet>

userAgent

Delivers svn user agent

Returns string user agent identifier

clientVersion

Delivers svn client version

Returns string version

davHeader

Type: string

mkcol

Parameters

Examples

MKCOL /svn/delivery_notes/!svn/txr/1485-1cs/data/comp2 HTTP/1.1
DAV	http://subversion.tigris.org/xmlns/dav/svn/depth
DAV	http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV	http://subversion.tigris.org/xmlns/dav/svn/log-revprops

startTransaction

Start a new transaction

Parameters

  • context Context
  • url ULR
  • message string

Examples

POST /svn/delivery_notes/!svn/me HTTP/1.1
Content-Type	application/vnd.svn-skel
DAV	http://subversion.tigris.org/xmlns/dav/svn/depth
DAV	http://subversion.tigris.org/xmlns/dav/svn/mergeinfo
DAV	http://subversion.tigris.org/xmlns/dav/svn/log-revprops
(create-txn-with-props (svn:txn-user-agent 48 SVN/1.9.4 (x86_64-apple-darwin15.0.0) serf/1.3.8 svn:log 19 this is the message svn:txn-client-compat-version 5 1.9.4))
Response:
SVN-Txn-Name: 1483-1a1

Returns Object acs, txn

put

Parameters

  • context Context
  • url URL
  • stream ReadableStream
  • options Object

optionsFromEnvironment

Extract options suitable for the constructor form the given set of environment variables

Parameters

Returns Object undefined if no suitable environment variables have been found

ActivityCollectionSet

Parameters

Properties

repositoryRoot

Type: string

absoluteRepositoryRoot

Type: string

pathInsideRepository

Returns string path of the url inside of the repository

encodeProperties

Encodes objects into strings as used by svn

Parameters

Examples

(create-txn-with-props
   (svn:txn-user-agent 48 SVN/1.9.4 (x86_64-apple-darwin15.0.0) serf/1.3.8
    svn:log 19 this is the message
    svn:txn-client-compat-version 5 1.9.4))

Returns string encoded object value

install

With npm do:

npm install svn-dav-fs

license

BSD-2-Clause

7.0.0

5 years ago

6.0.17

5 years ago

6.0.16

6 years ago

6.0.15

6 years ago

6.0.14

6 years ago

6.0.13

6 years ago

6.0.12

6 years ago

6.0.11

6 years ago

6.0.10

6 years ago

6.0.9

6 years ago

6.0.8

6 years ago

6.0.7

6 years ago

6.0.6

6 years ago

6.0.5

6 years ago

6.0.4

6 years ago

6.0.3

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.2.2

6 years ago

5.2.1

6 years ago

5.2.0

6 years ago

5.1.4

6 years ago

5.1.3

6 years ago

5.1.2

6 years ago

5.1.1

6 years ago

5.1.0

7 years ago

5.0.0

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.1.11

7 years ago

3.1.10

7 years ago

3.1.9

7 years ago

3.1.8

7 years ago

3.1.7

7 years ago

3.1.6

7 years ago

3.1.5

7 years ago

3.1.4

7 years ago

3.1.3

7 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.2.9

7 years ago

2.2.8

7 years ago

2.2.7

7 years ago

2.2.6

7 years ago

2.2.5

7 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.10

7 years ago

2.1.9

7 years ago

2.1.8

7 years ago

2.1.7

7 years ago

2.1.6

7 years ago

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago