repository-provider
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -206,2 +206,5 @@ 'use strict'; | ||
} | ||
async createBranch(name, options) { | ||
return this.repository.createBranch(name, this, options); | ||
} | ||
list(matchingPatterns) { | ||
@@ -208,0 +211,0 @@ return _wrapAsyncGenerator(function* () {})(); |
{ | ||
"name": "repository-provider", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
@@ -178,2 +178,13 @@ import { notImplementedError } from "./util"; | ||
/** | ||
* Create a new {@link Branch} by cloning a given source branch | ||
* Simplay calls Repository.createBranch() with the receiver as source branch | ||
* @param {string} name | ||
* @param {Object} options | ||
* @return {Promise<Branch>} newly created branch (or already present old one with the same name) | ||
*/ | ||
async createBranch(name, options) { | ||
return this.repository.createBranch(name, this, options); | ||
} | ||
/** | ||
* List paths of the branch | ||
@@ -202,3 +213,2 @@ * @param {string[]} matchingPatterns | ||
async _initialize() {} | ||
@@ -205,0 +215,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68767
1788