Module debby.files

Classes

class Files (files: Iterable[Tuple[pathlib.Path, pathlib.Path]])

A mapping of target paths in the package to source paths on the filesystem.

Args

files
An iterable of pairs of source paths and destination paths.

Ancestors

  • collections.abc.Mapping
  • collections.abc.Collection
  • collections.abc.Sized
  • collections.abc.Iterable
  • collections.abc.Container
  • typing.Generic

Instance variables

prop destinations : Iterable[pathlib.Path]
prop sources : Iterable[pathlib.Path]
var total_size

Methods

def package(self, path: pathlib.Path) ‑> None