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

Method with_ignore_whitespace

atomic-core/src/diff/word.rs:514–518  ·  view source on GitHub ↗

Set whether to ignore whitespace changes (builder method).

(mut self, ignore: bool)

Source from the content-addressed store, hash-verified

512
513 /// Set whether to ignore whitespace changes (builder method).
514 pub fn with_ignore_whitespace(mut self, ignore: bool) -> Self {
515 self.ignore_whitespace_changes = ignore;
516 self.filter_whitespace = ignore;
517 self
518 }
519
520 /// Set the tokenizer configuration.
521 pub fn with_tokenizer(mut self, config: TokenizerConfig) -> Self {

Callers 1

Calls

no outgoing calls

Tested by 1