genvid.toolbox.FileStats

class genvid.toolbox.FileStats

Bases: NamedTuple

A structure containing the basic information about a file.

New in version 1.42.0.

static from_csv(path: str, size: int, ctime: str, checksum: str)
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 DIGEST_ALGORITHM and a colon.

static __new__(_cls, path: str, size: int, ctime: str, checksum: str)

Create new instance of FileStats(path, size, ctime, checksum)

class sync.FileStats

Implementation of genvid.toolbox.FileStats