storage v0.2.0 Storage.File View Source
Defines struct to save data about the file.
The struct contains:
filename
- name of the saved filepath
- path to the saved fileextension
- extension of the saved file (without dot)content_type
- MIME typemetadata
- information about the filesize
- size in bytesctime
- creation timemtime
- modification time
Link to this section Summary
Functions
Creates and returns a new Storage.File
struct from path
with given options
Link to this section Functions
Creates and returns a new Storage.File
struct from path
with given options