MCPcopy
hub / github.com/kopia/kopia / Mode

Method Mode

internal/diff/diff_test.go:51–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49func (f *testBaseEntry) ObjectID() object.ID { return f.oid }
50
51func (f *testBaseEntry) Mode() os.FileMode {
52 if f.mode == 0 {
53 return 0o644
54 }
55
56 return f.mode & ^os.ModeDir
57}
58
59type testFile struct {
60 testBaseEntry

Callers 2

compareMetadataFunction · 0.45
compareEntryMetadataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected