blark.dependency_store.DependencyStoreLibrary

class blark.dependency_store.DependencyStoreLibrary(name: 'str', versioned: 'bool', path: 'str', project: 'str')[source]

Bases: object

Methods

__init__(name, versioned, path, project)

get_latest_version_path(root)

Get the latest version project filename.

get_project_filename(root, version)

Get the full project filename, given the root path and version.

Attributes

name

versioned

path

project

name: str
versioned: bool
path: str
project: str
get_latest_version_path(root: Path) Path[source]

Get the latest version project filename.

Returns:
pathlib.Path
get_project_filename(root: Path, version: str | None) Path[source]

Get the full project filename, given the root path and version.

__init__(name: str, versioned: bool, path: str, project: str) None