fix: filename char mapping while build index

This commit is contained in:
Noah Hsu
2022-11-28 21:08:11 +08:00
parent 76f37373e0
commit e98561ceb1
6 changed files with 21 additions and 17 deletions

View File

@ -63,7 +63,7 @@ func BuildIndex(ctx context.Context, indexPaths, ignorePaths []string, maxDepth
if indexPath == "/" {
return nil
}
err = instance.Index(ctx, path.Dir(indexPath), info)
err = Index(ctx, path.Dir(indexPath), info)
if err != nil {
return err
} else {