fix(all): various typos (#10242)

This commit is contained in:
Ross Smith II
2025-08-12 20:05:10 +02:00
committed by GitHub
parent fcf4916086
commit bbf48ae334
23 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -657,7 +657,7 @@ func (*fakeFS) SetXattr(_ string, _ []protocol.Xattr, _ XattrFilter) error {
return nil
}
// A basic glob-impelementation that should be able to handle
// A basic glob-implementation that should be able to handle
// simple test cases.
func (fs *fakeFS) Glob(pattern string) ([]string, error) {
dir := filepath.Dir(pattern)
+1 -1
View File
@@ -323,7 +323,7 @@ func Canonicalize(file string) (string, error) {
}
// The relative path should be clean from internal dotdots and similar
// funkyness.
// funkiness.
file = filepath.Clean(file)
// It is not acceptable to attempt to traverse upwards.