Function headless_lms_server::controllers::helpers::file_uploading::upload_field_to_storage
source ยท async fn upload_field_to_storage(
conn: &mut PgConnection,
path: &Path,
field: Field,
file_store: &dyn FileStore,
uploader: Option<AuthUser>,
) -> Result<(), ControllerError>
Expand description
Uploads the data from the multipart field
to the given path
in file storage.