feat: partial update index (close #2593 close #2621 pr #2624)

This commit is contained in:
BoYanZh
2022-12-07 10:41:52 +08:00
committed by GitHub
parent 72aa63adce
commit 6e23c8b4c0
2 changed files with 20 additions and 4 deletions

View File

@ -143,6 +143,10 @@ func BuildIndex(ctx context.Context, indexPaths, ignorePaths []string, maxDepth
return nil
}
func Del(ctx context.Context, prefix string) error {
return instance.Del(ctx, prefix)
}
func Clear(ctx context.Context) error {
return instance.Clear(ctx)
}