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

Method name

atomic-core/src/change/attribute.rs:79–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77
78impl InodeAttr {
79 pub const fn name(self) -> InodeAttrName {
80 match self {
81 Self::Mode(_) => InodeAttrName::Mode,
82 Self::Kind(_) => InodeAttrName::Kind,
83 }
84 }
85
86 /// Validate that this value has a supported canonical representation.
87 pub fn validate(self) -> Result<(), AttrValueError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected