1use notedthat_core::PutOutcome;
4
5mod commit;
6mod error;
7mod manifest;
8mod mime;
9pub mod patch;
10pub mod replace;
11mod sinks;
12
13pub use commit::{MAX_UPLOAD_BYTES, check_size, commit, commit_copy, commit_delete};
14pub use error::{WriteEffect, WriteError};
15pub use manifest::MANIFEST_MAX_BYTES;
16pub use mime::sniff_content_type;
17pub use patch::{PatchMode, patch};
18pub use replace::{ReplaceRequest, replace};
19pub use sinks::WriteSinks;
20
21pub struct ReplaceOutcome {
23 pub put_outcome: PutOutcome,
25 pub match_count: u64,
27}