genvid.toolbox.FileStats

class genvid.toolbox.FileStats(path: str, size: int, ctime: str, checksum: str)

Bases: NamedTuple

A structure containing the basic information about a file.

New in version 1.42.0.

path: str

The relative path of the file.

size: int

The size of the file in bytes.

ctime: str

The last time the file was updated.

checksum: str

The checksum of the file. It is represented as hexadecimal string preceded with the algorithm abbreviation and a colon (current version is sha512:).

class sync.FileStats

Implementation of genvid.toolbox.FileStats