aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3_list.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-26 20:39:32 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-26 20:39:32 +0000
commit81ecc4999e16c58ce6d0e97501f7b6b1497f6cf6 (patch)
treed22638738b6105ebc8c7eb8fe1d633bf3627b034 /src/api/s3_list.rs
parent1999c0ae5152917625558c588e71b27f63950f41 (diff)
downloadgarage-81ecc4999e16c58ce6d0e97501f7b6b1497f6cf6.tar.gz
garage-81ecc4999e16c58ce6d0e97501f7b6b1497f6cf6.zip
Implement multipart uploads
Diffstat (limited to 'src/api/s3_list.rs')
-rw-r--r--src/api/s3_list.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/api/s3_list.rs b/src/api/s3_list.rs
index 184168f3..9baaba85 100644
--- a/src/api/s3_list.rs
+++ b/src/api/s3_list.rs
@@ -9,7 +9,6 @@ use garage_util::error::Error;
use garage_core::garage::Garage;
-use crate::api_server::BodyType;
use crate::http_util::*;
#[derive(Debug)]
@@ -115,8 +114,3 @@ pub async fn handle_list(
Ok(Response::new(Box::new(BytesBody::from(xml.into_bytes()))))
}
-fn xml_escape(s: &str) -> String {
- s.replace("<", "&lt;")
- .replace(">", "&gt;")
- .replace("\"", "&quot;")
-}