File

class starlark_pyoxidizer.File

This type represents a concrete file in an abstract filesystem. The file has a path and content.

Instances can be constructed by calling methods that emit resources with a PythonPackagingPolicy having PythonPackagingPolicy.file_scanner_emit_files set to True.

path

(string)

The filesystem path represented. Typically relative. Doesn’t have to correspond to a valid, existing file on the filesystem.

is_executable

(bool)

Whether the file is executable.

is_*

(various)

See Resource Attributes Influencing Adding.