MCPcopy
hub / github.com/kopia/kopia / Entry

Interface Entry

fs/entry.go:19–25  ·  view source on GitHub ↗

Entry represents a filesystem entry, which can be Directory, File, or Symlink.

Source from the content-addressed store, hash-verified

17
18// Entry represents a filesystem entry, which can be Directory, File, or Symlink.
19type Entry interface {
20 os.FileInfo
21 Owner() OwnerInfo
22 Device() DeviceInfo
23 LocalFilesystemPath() string // returns full local filesystem path or "" if not a local filesystem
24 Close() // closes or recycles any resources associated with the entry, must be idempotent
25}
26
27// OwnerInfo describes owner of a filesystem entry.
28type OwnerInfo struct {

Callers 22

entryBitsMethod · 0.65
populateAttributesFunction · 0.65
compareMetadataFunction · 0.65
compareEntryMetadataMethod · 0.65
setAttributesMethod · 0.65
shouldUpdateOwnerMethod · 0.65
BeginDirectoryMethod · 0.65
WriteFileMethod · 0.65
shouldIncludeByDeviceMethod · 0.65
verifyLinkFunction · 0.65
TestLocalFilesystemPathFunction · 0.65
doRoughEstimationMethod · 0.65

Implementers 7

entryinternal/mockfs/mockfs.go
testBaseEntryinternal/diff/diff_test.go
virtualEntryfs/virtualfs/virtualfs.go
repositoryEntrysnapshot/snapshotfs/repofs.go
sourceDirectoriessnapshot/snapshotfs/source_directories
sourceSnapshotssnapshot/snapshotfs/source_snapshots.g
repositoryAllSourcessnapshot/snapshotfs/all_sources.go

Calls

no outgoing calls

Tested by

no test coverage detected