freezer.storage.local module

class freezer.storage.local.LocalStorage(storage_path, max_segment_size, skip_prepare=False)

Bases: freezer.storage.fslike.FsLikeStorage

create_dirs(path)
get_file(from_path, to_path)
listdir(directory)
Parameters

path (str) –

Return type

collections.Iterable[str]

open(filename, mode)
Parameters
  • filename (str) –

  • mode (str) –

Returns

put_file(from_path, to_path)
Parameters
  • from_path (str) –

  • to_path (str) –

rmtree(path)