Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions icechunk/src/storage/s3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl S3Storage {
/// client is not serializeable and must be initialized after deserialization. Under normal construction
/// the original client is returned immediately.
#[instrument(skip_all)]
async fn get_client(&self, settings: &Settings) -> &Arc<Client> {
pub async fn get_client(&self, settings: &Settings) -> &Arc<Client> {
self.client
.get_or_init(|| async {
Arc::new(
Expand All @@ -260,7 +260,7 @@ impl S3Storage {
.await
}

fn get_path_str(&self, file_prefix: &str, id: &str) -> StorageResult<String> {
pub fn get_path_str(&self, file_prefix: &str, id: &str) -> StorageResult<String> {
let path = PathBuf::from_iter([self.prefix.as_str(), file_prefix, id]);
let path_str =
path.into_os_string().into_string().map_err(StorageErrorKind::BadPrefix)?;
Expand Down
Loading