Skip to main content

Crate notedthat_write

Crate notedthat_write 

Source
Expand description

Shared write path for NotedThat protocol surfaces.

Re-exports§

pub use patch::PatchMode;
pub use patch::patch;
pub use replace::ReplaceRequest;
pub use replace::replace;

Modules§

patch
Shared PATCH splice primitive for object writes.
replace
Shared exact-substring replacement primitive for object writes.

Structs§

ReplaceOutcome
Outcome of a replace write operation.

Enums§

WriteError
Errors returned by shared write operations.

Constants§

MAX_UPLOAD_BYTES
Maximum upload size accepted by shared write paths: 5 GiB.

Functions§

check_size
Validate an upload size against a byte limit.
commit
Store an object and enqueue a best-effort index upsert event.
commit_copy
Copy an object natively and enqueue its destination for indexing.
commit_delete
Delete an object idempotently and enqueue a best-effort tombstone event.
sniff_content_type
Select a content type for an object write.