Bundle¶
Encapsulation of a Bundle + Lock file pair, including all file activities for those files.
Constructors¶
create¶
Parameters¶
Returns¶
- Bundle iso^
load¶
Parameters¶
Returns¶
- Bundle iso^ ?
Public fields¶
let dir: FilePath val¶
let log: Logger[String val] val¶
let info: InfoData ref¶
let packages: Array[String val] ref¶
let deps: HashMap[String val, Dep ref, HashEq[String val] val] ref¶
let scripts: (ScriptsData ref | None val)¶
var modified: Bool val¶
Public Functions¶
name¶
Returns¶
- String val
bundle_filepath¶
Returns¶
- FilePath val ?
lock_filepath¶
Returns¶
- FilePath val ?
add_dep¶
Parameters¶
Returns¶
- Dep ref
remove_dep¶
Parameters¶
- locator: String val
Returns¶
- None val ?
dep_revision¶
Returns the revision for a dep from this bundle's lock.
Parameters¶
- locator: String val
Returns¶
- String val
lock_revision¶
Records the revision for a dep into this bundle's lock.
Parameters¶
Returns¶
- None val
bundle_json¶
Returns¶
- JsonObject ref
lock_json¶
Returns¶
- JsonObject ref
save¶
Returns¶
- None val ?