Use file metadata to sort files and directories

This commit is contained in:
Cameron Cordes committed 2021-06-02 08:32:20 -04:00
1 parent 9d823fdc51
commit 8622500a2f
2 files changed
+11 -13

No files matched your search

+6
View File
@@ -69,6 +69,12 @@ impl FromRequest for Claims {
}
}
#[derive(Serialize)]
pub struct PhotosResponse<'a> {
pub photos: &'a [String],
pub dirs: &'a [String],
}
#[derive(Deserialize)]
pub struct ThumbnailRequest {
pub path: String,