new CasefileKeeper(kwargsopt)
Class for managing casefiles
Properties:
Name | Type | Description |
---|---|---|
bookmarks |
BookmarkFacilitator | |
gitOps |
GitInteraction |
Use an instance of this class to both manage bookmark instances (through its bookmarks property) and to access the shared casefile library(ies) of configured remotes.
While casefiles shared to remotes are generally expected to conform to the
Casefile type, there is no requirement they do so...only that they
are Objects supporting JSON.stringify
.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
kwargs |
object |
<optional> |
Keyword arguments; passed through to construct a BookmarkFacilitator Properties
|
Methods
(async) getCasefiles() → {Promise.<Array.<CasefileGroup>>}
Get CasefileGroup objects for known casefiles
Returns:
- Type
- Promise.<Array.<CasefileGroup>>
(async) getDeletedCasefileRefs(partialopt) → {Promise.<Array.<DeletedCasefileRef>>}
Get references to deleted casefiles (possibly filtered)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
partial |
string |
<optional> |
Returns:
- Type
- Promise.<Array.<DeletedCasefileRef>>
(async) getRemotes() → {Promise.<Array.<GitRemote>>}
Get an Array of GitRemote objects for all configured remotes
Returns:
- Type
- Promise.<Array.<GitRemote>>
remote(name) → {GitRemote}
Get a GitRemote for a given name
Parameters:
Name | Type | Description |
---|---|---|
name |
string | Name of the remote |
Returns:
A new GitRemote object for name
- Type
- GitRemote