Skip to main content Module file_uploads Copy item path Source FileUploadRef A stored file’s name and object-store path. NewUpload An upload for store_and_insert to store and record. StoredFileDetails backdate Moves an upload’s creation time age into the past, to bring it within a retention window. delete_and_fetch_path get_details_by_path The original file name and MIME type of the upload stored at path. get_many The named files, in unspecified order and omitting deleted ones. Callers that need a
particular order must impose it themselves. insert Records a stored object under a fresh id. size_bytes is the byte count measured while
receiving it; None where the upload path does not count bytes. insert_with_id Records a stored object under an id the caller has already chosen. store_and_insert Stores an upload at its path, then records it like insert on a connection taken from db
only then, so none is held during the upload. Deletes the stored file again if the row can’t be
written.