fn local_uploads_path(path: &str, upload_bucket: UploadBucket) -> PathBuf {
        let path = match upload_bucket {
            UploadBucket::Index => PathBuf::from("index").join(path),
            UploadBucket::Default => PathBuf::from(path),
        };
        env::current_dir().unwrap().join("local_uploads").join(path)
    }
/// Returns the absolute path to the locally uploaded file.
Returns the absolute path to the locally uploaded file.
Returns the absolute path to the locally uploaded file .
fn local_uploads_path(path: &str, upload_bucket: UploadBucket) -> PathBuf {
        let path = match upload_bucket {
            UploadBucket::Index => PathBuf::from("index").join(path),
            UploadBucket::Default => PathBuf::from(path),
        };
        env::current_dir().unwrap().join("local_uploads").join(path)
    }
fn local_uploads_path ( path : & str , upload_bucket : UploadBucket ) -> PathBuf { let path = match upload_bucket { UploadBucket :: Index => PathBuf :: from ( " " ) . join ( path ) , UploadBucket :: Default => PathBuf :: from ( path ) , } ; env :: current_dir ( ) . unwrap ( ) . join ( " " ) . join ( path ) }
Returns the absolute path to the locally uploaded file.
Returns the absolute path to the locally uploaded file .
path
&str
upload_bucket
UploadBucket