Files
garage/src/api/s3/lib.rs
T
Gwen Lg 93cd71eb72 test: add unprettify_xml helper and use it
this replace previous cleanup which remove space between `element` and `attribute` name in xml
2026-02-20 21:29:26 +00:00

30 lines
429 B
Rust

#[macro_use]
extern crate tracing;
pub mod api_server;
pub mod error;
mod bucket;
mod copy;
pub mod cors;
mod delete;
pub mod get;
mod lifecycle;
mod list;
mod multipart;
mod post_object;
mod put;
pub mod website;
mod encryption;
mod router;
pub mod xml;
#[cfg(test)]
pub(crate) fn unprettify_xml(xml_in: &str) -> String {
xml_in.trim().lines().fold(String::new(), |mut val, line| {
val.push_str(line.trim());
val
})
}