MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_options

Method with_options

atomic-core/src/record/workflow/crdt/tokenize/mod.rs:58–60  ·  view source on GitHub ↗

Creates a new tokenizer with the given options.

(content: &'a [u8], options: TokenizeOptions)

Source from the content-addressed store, hash-verified

56
57 /// Creates a new tokenizer with the given options.
58 pub fn with_options(content: &'a [u8], options: TokenizeOptions) -> Self {
59 Self { content, options }
60 }
61
62 /// Returns the content being tokenized.
63 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected