MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / id

Method id

fendermint/testing/materializer/src/lib.rs:118–126  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

116 }
117
118 pub fn id(&self) -> ResourceId {
119 ResourceId(
120 self.0
121 .file_name()
122 .expect("resource name has file segment")
123 .to_string_lossy()
124 .to_string(),
125 )
126 }
127}
128
129impl From<&str> for ResourceName {

Callers 1

account_idMethod · 0.45

Calls 2

ResourceIdClass · 0.85
to_stringMethod · 0.80

Tested by

no test coverage detected