Skip to content

PackageState

[Source]

class ref PackageState

Constructors

create

[Source]

new ref create(
  path': FilePath val,
  channel: Channel tag)
: PackageState ref^

Parameters

Returns


Public fields

let path: FilePath val

[Source]


let documents: HashMap[String val, DocumentState ref, HashEq[String val] val] ref

[Source]


var package: (Package val | None val)

[Source]


var compiler_run_id: USize val

[Source]


Public Functions

debug

[Source]

fun box debug()
: String val

Returns


get_document

[Source]

fun box get_document(
  document_path: String val)
: (this->DocumentState ref | None val)

Parameters

Returns


insert_new

[Source]

fun ref insert_new(
  document_path: String val)
: (DocumentState ref , Bool val)

Parameters

Returns


update

[Source]

fun ref update(
  result: Package val,
  run_id: USize val)
: None val

Parameters

Returns


dispose

[Source]

fun box dispose()
: None val

Returns