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

Method prefix

atomic-core/src/record/context.rs:281–283  ·  view source on GitHub ↗

Get the prefix filter from options. # Returns The path prefix to filter detection, or empty string for all files.

(&self)

Source from the content-addressed store, hash-verified

279 ///
280 /// The path prefix to filter detection, or empty string for all files.
281 pub fn prefix(&self) -> &str {
282 &self.options.prefix
283 }
284}
285
286impl<'a, T, W, C> Clone for DetectContext<'a, T, W, C>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected