Skip to content

Project

[Source]

Project assists with the performing operations on bundles and deps of a project.

class val Project

Constructors

create

[Source]

new val create(
  auth': FileAuth val,
  log': Logger[String val] val,
  dir': FilePath val)
: Project val^

Parameters

Returns


Public fields

let auth: FileAuth val

[Source]


let log: Logger[String val] val

[Source]


let dir: FilePath val

[Source]


Public Functions

load_bundle

[Source]

fun val load_bundle()
: (Bundle iso^ | String val)

Returns


create_bundle

[Source]

fun box create_bundle()
: (Bundle iso^ | String val)

Returns


corral_dirpath

[Source]

fun box corral_dirpath()
: FilePath val ?

Returns


dep_workspace_root

[Source]

Returns the VCS workspace root for a given dep. Not used for local-direct deps.

fun box dep_workspace_root(
  locator: Locator val)
: FilePath val ?

Parameters

Returns


dep_bundle_root

[Source]

fun box dep_bundle_root(
  locator: Locator val)
: FilePath val ?

Parameters

Returns


transitive_deps

[Source]

Return all immediate and transitive deps, with no duplicates.

fun box transitive_deps(
  base_bundle: Bundle box)
: HashMap[Locator val, Dep box, HashEq[Locator val] val] box

Parameters

Returns