fs.wrapfs.limitsizefs

An FS wrapper class for limiting the size of the underlying FS.

This module provides the class LimitSizeFS, an FS wrapper that can limit the total size of files stored in the wrapped FS.

class fs.wrapfs.limitsizefs.LimitSizeFS(fs, max_size)

FS wrapper class to limit total size of files stored.

class fs.wrapfs.limitsizefs.LimitSizeFile(file, mode, size, fs, path)

Filelike wrapper class for use by LimitSizeFS.