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

Method ignoring_whitespace

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

Create a configuration that ignores whitespace.

()

Source from the content-addressed store, hash-verified

503
504 /// Create a configuration that ignores whitespace.
505 pub fn ignoring_whitespace() -> Self {
506 Self {
507 tokenizer_config: TokenizerConfig::default(),
508 ignore_whitespace_changes: true,
509 filter_whitespace: true,
510 }
511 }
512
513 /// Set whether to ignore whitespace changes (builder method).
514 pub fn with_ignore_whitespace(mut self, ignore: bool) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected