CasefileRef

CasefileRef

new CasefileRef()

Reference to a shared/saved casefile

Source:
Properties:
Name Type Description
path string

Objects of this type reference a stored casefile which has been fetched from a Git remote repository. The only guarantees made about successfully loaded casefiles are:

  • The stored casefile is valid JSON.
  • The path property is set to the path of this instance.

Classes

CasefileRef

Reference to a shared/saved casefile

Methods

(async) getAuthors() → {Promise.<Array.<string>>}

Get authors who contributed to the referenced casefile

Source:
Returns:
Type
Promise.<Array.<string>>

(async) load() → {Promise.<(Casefile|object)>}

Load the casefile contents from the repository

Source:
Returns:
Type
Promise.<(Casefile|object)>