MCPcopy Create free account
hub / github.com/tailscale/tailscale / checkFileStatus

Method checkFileStatus

drive/driveimpl/drive_test.go:600–604  ·  view source on GitHub ↗
(remoteName, shareName, name string)

Source from the content-addressed store, hash-verified

598}
599
600func (s *system) checkFileStatus(remoteName, shareName, name string) {
601 expectedFI := s.stat(remoteName, shareName, name)
602 actualFI := s.statViaWebDAV(remoteName, shareName, name)
603 s.checkFileInfosEqual(expectedFI, actualFI, fmt.Sprintf("%s/%s/%s should show same FileInfo via WebDAV stat as local stat", remoteName, shareName, name))
604}
605
606func (s *system) checkFileContents(remoteName, shareName, name string) {
607 expected := s.read(remoteName, shareName, name)

Callers 1

TestFileManipulationFunction · 0.80

Calls 3

statMethod · 0.95
statViaWebDAVMethod · 0.95
checkFileInfosEqualMethod · 0.95

Tested by

no test coverage detected