(e fs.Entry, parent *ignoreDirectory)
| 67 | } |
| 68 | |
| 69 | func (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 | |
| 77 | type ignoreDirectory struct { |
| 78 | relativePath string |
no test coverage detected