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

Method as_str

atomic-repository/src/change_source/core.rs:20–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19impl ChangeSourceKind {
20 pub const fn as_str(self) -> &'static str {
21 match self {
22 Self::Scan => "scan",
23 Self::Fsmonitor => "fsmonitor",
24 Self::Watchman => "watchman",
25 Self::Custom => "custom",
26 }
27 }
28}
29
30/// Opaque checkpoint owned by a change-source implementation.

Callers 1

parse_responseFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected