proj_flow.flow.layer

The proj_flow.flow.layer supports Directory template layers.

class proj_flow.flow.layer.FileInfo(src: str, dst: str, is_mustache: bool, is_executable: bool, when: str | None = None)
src: str
dst: str
is_mustache: bool
is_executable: bool
when: str | None = None
classmethod from_json(src: str, filelist: dict, context: Dict[str, str | bool])
template()
run(root: str, rt: Runtime, context: Dict[str, str | bool])
get_git_checks()
class proj_flow.flow.layer.LayerInfo(root: str, files: List[proj_flow.flow.layer.FileInfo], when: str | None = None)
root: str
files: List[FileInfo]
when: str | None = None
classmethod from_fs(layer_dir: str, context: Dict[str, str | bool])
property name
property pkg
template()
run(rt: Runtime, context: Dict[str, str | bool])
get_git_checks()
proj_flow.flow.layer.copy_license(rt: Runtime, context: Dict[str, str | bool])
proj_flow.flow.layer.gather_package_layers(package_root: str, context: Dict[str, str | bool])