Module: api/'0.1'/projectFs/private
This module contains functions that manage a project's private folder
- Source:
Methods
(inner) addToIgnore(ignoreFile, privatePath) → {Q.Promise}
Parameters:
Name | Type | Description |
---|---|---|
ignoreFile |
string | |
privatePath |
string |
Returns:
- Type
- Q.Promise
(inner) getPrivateChecksumPaths() → {Q.Promise}
- Source:
Returns:
- Type
- Q.Promise
(inner) getPrivateDiffFn(sha) → {function}
Parameters:
Name | Type | Description |
---|---|---|
sha |
string |
- Source:
- To Do:
-
- migrate process exit logic to a wrapper file in cli
Returns:
- Type
- function
(inner) makePrivate(passphrase) → {Q.Promise}
Parameters:
Name | Type | Description |
---|---|---|
passphrase |
string |
Returns:
- Type
- Q.Promise
(inner) privateChecksum() → {Q.Promise}
- Source:
Returns:
- Type
- Q.Promise
(inner) privateDiff()
- Source:
- To Do:
-
- migrate process exit logic to a wrapper file in cli
(inner) readPrivate(passphrase) → {Q.Promise}
Parameters:
Name | Type | Description |
---|---|---|
passphrase |
string |
Returns:
- Type
- Q.Promise
(inner) writeAws(privatePath, aws) → {Q.Promise}
Parameters:
Name | Type | Description |
---|---|---|
privatePath |
string | |
aws |
Object |
Returns:
- Type
- Q.Promise
(inner) writeClusternatorCreds(token, privatePathopt) → {Q.Promise}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
token |
string | ||
privatePath |
string |
<optional> |
Returns:
- Type
- Q.Promise
(inner) writeCreds(privatePath, creds) → {Q.Promise}
Parameters:
Name | Type | Description |
---|---|---|
privatePath |
string | |
creds |
Object |
Returns:
- Type
- Q.Promise
(inner) writeProjectDetails(privatePath, details) → {Q.Promise.<Object>}
Parameters:
Name | Type | Description |
---|---|---|
privatePath |
string | |
details |
Object |
Returns:
- Type
- Q.Promise.<Object>