MCPcopy
hub / github.com/kopia/kopia / shouldIncludeByDevice

Method shouldIncludeByDevice

fs/ignorefs/ignorefs.go:69–75  ·  view source on GitHub ↗
(e fs.Entry, parent *ignoreDirectory)

Source from the content-addressed store, hash-verified

67}
68
69func (c *ignoreContext) shouldIncludeByDevice(e fs.Entry, parent *ignoreDirectory) bool {
70 if !c.oneFileSystem {
71 return true
72 }
73
74 return e.Device().Dev == parent.Device().Dev
75}
76
77type ignoreDirectory struct {
78 relativePath string

Callers 1

Calls 1

DeviceMethod · 0.65

Tested by

no test coverage detected