asset_content()

def asset_content(content, destination) -> dict

Creates an asset (file from a starlark string) that can be passed in the assets list to checkout_add_any_assets()

Args

  • content: string: content for populating the asset
  • destination: string: destination of the asset

Returns

dict that can be passed to checkout_add_any_assets()

asset_hard_link()

def asset_hard_link(source, destination) -> dict

Creates a hard-link asset that can be passed in the assets list to checkout_add_any_assets()

Args

  • source: string: source of the hard link
  • destination: string: destination of the hard link

Returns

dict that can be passed to checkout_add_any_assets()

asset_soft_link()

def asset_soft_link(source, destination) -> dict

Creates a soft-link asset that can be passed in the assets list to checkout_add_any_assets()

Args

  • source: string: source of the hard link
  • destination: string: destination of the hard link

Returns

dict that can be passed to checkout_add_any_assets()

asset_which()

def asset_which(which, destination) -> dict

Creates an asset by using which that can be passed in the assets list to checkout_add_any_assets()

Args

  • which: string: argument to pass to which to discover the program
  • destination: string: destination of the asset

Returns

dict that can be passed to checkout_add_any_assets()