diff --git a/internal/fs/vss_windows.go b/internal/fs/vss_windows.go index 8c9b8942b..d75567d25 100644 --- a/internal/fs/vss_windows.go +++ b/internal/fs/vss_windows.go @@ -190,7 +190,7 @@ func (e *vssError) Error() string { return fmt.Sprintf("VSS error: %s: %s (%#x)", e.text, e.hresult.Str(), e.hresult) } -// VssError encapsulates errors returned from calling VSS api. +// vssTextError encapsulates errors returned from calling VSS api. type vssTextError struct { text string } diff --git a/internal/walker/walker_test.go b/internal/walker/walker_test.go index 0f0009107..75f80e57f 100644 --- a/internal/walker/walker_test.go +++ b/internal/walker/walker_test.go @@ -13,7 +13,7 @@ import ( // TestTree is used to construct a list of trees for testing the walker. type TestTree map[string]interface{} -// TestNode is used to test the walker. +// TestFile is used to test the walker. type TestFile struct { Size uint64 }