Function headless_lms_server::controllers::helpers::file_uploading::generate_file_path
source ยท fn generate_file_path(
field: &Field,
store_kind: StoreKind,
) -> Result<PathBuf, ControllerError>
Expand description
Generates a path for a generic file with the appropriate extension based on its filename.