pyplugins.apis.static_fs module¶
- class pyplugins.apis.static_fs.StaticFS[source]¶
Bases:
Plugin- get_size(path)[source]¶
Returns the size of the file in bytes without opening it.
- Parameters:
path (str)
- Return type:
int | None
- read(path, size, offset=0)[source]¶
- Parameters:
path (str)
size (int)
offset (int)
- Return type:
bytes | None