Module tmpshare::storage [−][src]
Abstracting away Metadata
storage and file access.
Structs
Metadata |
All the metadata for a served file. |
Functions
add |
Constructs the |
cleanup |
Remove files older than the supplied days. |
get_metadata |
Retrieves the |
hash_file |
Calculates the Sha256 hash for a given file. |
list |
Lists all the Metadata. |
read_metadata |
Retrieves the |