diff --git a/icechunk/src/storage/s3.rs b/icechunk/src/storage/s3.rs index 3c6398c6..d02d920b 100644 --- a/icechunk/src/storage/s3.rs +++ b/icechunk/src/storage/s3.rs @@ -38,7 +38,9 @@ use crate::{ Storage, StorageError, }; -use super::{ListInfo, StorageResult}; +use super::{ + ListInfo, StorageResult, CHUNK_PREFIX, MANIFEST_PREFIX, REF_PREFIX, SNAPSHOT_PREFIX, +}; #[derive(Debug)] pub struct S3Storage { @@ -119,12 +121,6 @@ pub async fn mk_client(config: Option<&S3Config>) -> Client { Client::from_conf(config) } -const SNAPSHOT_PREFIX: &str = "snapshots/"; -const MANIFEST_PREFIX: &str = "manifests/"; -// const ATTRIBUTES_PREFIX: &str = "attributes/"; -const CHUNK_PREFIX: &str = "chunks/"; -const REF_PREFIX: &str = "refs"; - impl S3Storage { pub async fn new_s3_store( bucket_name: impl Into,