asset_content()

def asset_content(content, destination)

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

Args

  • content - str content for populating the asset
  • destination - str destination of the asset

Returns

dict that can be passed to checkout_add_any_assets()

asset_hard_link()

def asset_hard_link(source, destination)

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

Args

  • source - str source of the hard link
  • destination - str 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)

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

Args

  • source - str source of the hard link
  • destination - str destination of the hard link

Returns

dict that can be passed to checkout_add_any_assets()

asset_which()

def asset_which(which, destination)

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

Args

  • which - str argument to pass to which to discover the program
  • destination - str destination of the asset

Returns

dict that can be passed to checkout_add_any_assets()