local - stage local files and directories

Usage:

# Specify the local source kind
kind: local

# Specify the project relative path to a file or directory
path: files/somefile.txt

See built-in functionality doumentation for details on common configuration options for sources.

Reporting SourceInfo

The local source reports the project relative path of the file or directory as the url.

Further, the local source reports the SourceInfoMedium.LOCAL medium and the SourceVersionType.CAS_DIGEST version_type, for which it reports the CAS digest of the local source as the version.

The guess_version of a local source is meaningless, as it is tied instead to the BuildStream project in which it is contained.