MCPcopy
hub / github.com/perkeep/perkeep / Sys

Method Sys

pkg/test/integration/upload_test.go:48–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46func (f *fakeFile) Mode() os.FileMode { return 0666 }
47func (f *fakeFile) IsDir() bool { return false }
48func (f *fakeFile) Sys() interface{} { return nil }
49
50// TestUploadFile checks if uploading a file with the same content
51// but different metadata works, and whether camliType is set to "file".

Callers 4

populateSchemaCtimeFunction · 0.80
populateSchemaUnixFunction · 0.80
populateSchemaCtimeFunction · 0.80
fileInfoToFingerprintFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected