FileSize¶
-
class passengersim.database.files.FileSize(path: Path, size: int | None, bytes_per_second: float | None, error: str | None =
None)[source]¶ Bases:
objectOne database’s aggregate size, including its SQLite companion files.
Methods
__init__(path, size, bytes_per_second[, error])Attributes
Filesystem error text for an unreadable file.
Absolute main database path identifying the group.
Combined logical size in bytes, or None when any member cannot be read.
Net size change per second, or None until two observations exist.
- path : Path¶
Absolute main database path identifying the group.
- size : int | None¶
Combined logical size in bytes, or None when any member cannot be read.
- bytes_per_second : float | None¶
Net size change per second, or None until two observations exist.
-
error : str | None =
None¶ Filesystem error text for an unreadable file.