freezer.storage.local module

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)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.