fill_from_statresult#

barecat.BarecatFileInfo.fill_from_statresult(s)#

Fills the file metadata information from a stat result, obtained from the file system.

Parameters:

s (stat_result) – stat result object to fill the metadata from