nmindex: listError

This commit is contained in:
xushiwei
2024-04-20 10:56:21 +08:00
parent 0e0054779b
commit 0b1f36b6fe
2 changed files with 21 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ func (p *IndexBuilder) IndexDir(fromDir, toDir string, progress func(path string
}
fname := d.Name()
switch filepath.Ext(fname) {
case ".a", ".dylib", ".so", ".dll", ".lib":
case ".a", ".dylib", ".tbd", ".so", ".dll", ".lib":
progress(path)
hash := md5.Sum([]byte(path))
hashStr := base64.RawURLEncoding.EncodeToString(hash[:])