MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / fmt

Method fmt

src/fs/raw_dir.rs:156–163  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

154
155impl<'a> fmt::Debug for RawDirEntry<'a> {
156 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
157 let mut f = f.debug_struct("RawDirEntry");
158 f.field("file_name", &self.file_name());
159 f.field("file_type", &self.file_type());
160 f.field("ino", &self.ino());
161 f.field("next_entry_cookie", &self.next_entry_cookie());
162 f.finish()
163 }
164}
165
166impl<'a> RawDirEntry<'a> {

Callers

nothing calls this directly

Calls 4

next_entry_cookieMethod · 0.80
file_nameMethod · 0.45
file_typeMethod · 0.45
inoMethod · 0.45

Tested by

no test coverage detected