mirror of
https://github.com/restic/restic.git
synced 2026-11-05 06:49:21 +00:00
fix comment and variable name typos
This commit is contained in:
1 parent
fa1a318780
commit
10645ccd2a
17 files changed
+34
-30
No files matched your search
@@ -214,7 +214,7 @@ func newDeviceMap(allowedSourcePaths []string, fs fs.FS) (deviceMap, error) {
|
||||
return deviceMap, nil
|
||||
}
|
||||
|
||||
// IsAllowed returns true if the path is located on an allowed device.
|
||||
// IsAllowed reports whether the path is located on an allowed device.
|
||||
func (m deviceMap) IsAllowed(item string, deviceID uint64, fs fs.FS) (bool, error) {
|
||||
for dir := item; ; dir = fs.Dir(dir) {
|
||||
debug.Log("item %v, test dir %v", item, dir)
|
||||
|
||||
Reference in new issue
Block a user