diff options
Diffstat (limited to 'local.go')
-rw-r--r-- | local.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,8 +132,8 @@ func prefixwalker(dirpath string, prefix string, list *[]ObjMeta) filepath.WalkF if info.IsDir() { return nil } - //n := filepath.Base(path) n := strings.TrimPrefix(path, dirpath) + n = strings.TrimPrefix(n, "/") o := ObjMeta{Name: n, Date: info.ModTime()} *list = append(*list, o) return nil |