asdict#

barecat.BarecatFileInfo.asdict()[source]#

Returns a dictionary representation of the file information.

Returns:

Dictionary with keys ‘path’, ‘shard’, ‘offset’, ‘size’, ‘crc32c’, ‘mode’, ‘uid’,

’gid’, ‘mtime_ns’

Return type:

dict