MCPcopy
hub / github.com/restic/restic / ToNoder

Interface ToNoder

internal/archiver/archiver.go:71–73  ·  view source on GitHub ↗

ToNoder returns a data.Node for a File.

Source from the content-addressed store, hash-verified

69
70// ToNoder returns a data.Node for a File.
71type ToNoder interface {
72 ToNode(ignoreXattrListError bool, warnf func(format string, args ...any)) (*data.Node, error)
73}
74
75type archiverRepo interface {
76 restic.Loader

Callers 5

startFileSaverFunction · 0.65
nodeFromFileFunction · 0.65
ToNodeMethod · 0.65
TestMetadataChangedFunction · 0.65
nodeFromFileInfoMethod · 0.65

Implementers 4

overrideFileinternal/archiver/archiver_test.go
mockToNoderinternal/archiver/archiver_test.go
localFileinternal/fs/fs_local.go
fakeFileinternal/fs/fs_reader.go

Calls

no outgoing calls

Tested by

no test coverage detected