MCPcopy Index your code
hub / github.com/assert-rs/assert_fs / assert

Method assert

src/assert.rs:108–115  ·  view source on GitHub ↗
(&self, pred: I)

Source from the content-addressed store, hash-verified

106impl PathAssert for fixture::TempDir {
107 #[track_caller]
108 fn assert<I, P>(&self, pred: I) -> &Self
109 where
110 I: IntoPathPredicate<P>,
111 P: predicates_core::Predicate<path::Path>,
112 {
113 assert(self.path(), pred);
114 self
115 }
116}
117
118impl PathAssert for fixture::NamedTempFile {

Callers 3

code_exampleFunction · 0.80
verify_failure_outputFunction · 0.80
mainFunction · 0.80

Calls 2

assertFunction · 0.85
pathMethod · 0.45

Tested by 1

code_exampleFunction · 0.64