fix(all): various typos (#10242)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user