MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / fmt

Method fmt

rust/src/collaboration/file.rs:590–602  ·  view source on GitHub ↗
(&self, f: &mut Formatter<'_>)

Source from the content-addressed store, hash-verified

588
589impl Debug for RemoteFile {
590 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
591 f.debug_struct("RemoteFile")
592 .field("id", &self.id())
593 .field("name", &self.name())
594 .field("description", &self.description())
595 .field("metadata", &self.metadata())
596 .field("size", &self.size())
597 .field(
598 "snapshot_count",
599 &self.snapshots().map(|s| s.len()).unwrap_or(0),
600 )
601 .finish()
602 }
603}
604
605impl PartialEq for RemoteFile {

Callers

nothing calls this directly

Calls 9

mapMethod · 0.80
finishMethod · 0.45
idMethod · 0.45
nameMethod · 0.45
descriptionMethod · 0.45
metadataMethod · 0.45
sizeMethod · 0.45
snapshotsMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected