Skip to content

Commit

Permalink
This FileStorageMetadata struct appears unused (#29003)
Browse files Browse the repository at this point in the history
Seems to have been replaced with a Json struct.

GitOrigin-RevId: 78dfd40f5111f5b0e0bf3c3d5c8cdc3fe9b50927
  • Loading branch information
nipunn1313 authored and Convex, Inc. committed Aug 19, 2024
1 parent 4920659 commit 29af293
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/file_storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use headers::{
ContentRange,
ContentType,
};
use model::file_storage::types::StorageUuid;
use storage::Storage;

mod core;
Expand Down Expand Up @@ -48,10 +47,3 @@ pub struct TransactionalFileStorage<RT: Runtime> {
storage: Arc<dyn Storage>,
convex_origin: ConvexOrigin,
}

pub struct FileMetadata {
pub storage_id: StorageUuid,
pub sha256: Sha256Digest,
pub size: i64,
pub content_type: Option<String>,
}

0 comments on commit 29af293

Please sign in to comment.