mft function rewrite

This commit is contained in:
2022-03-09 13:42:01 +08:00
parent db9e96e4ed
commit 426a959d0d
6 changed files with 116 additions and 54 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ func main() {
if v.Format == "NTFS" && v.Driver == `C:\` {
starlog.Infoln("开始获取NTFS USN日志,磁盘:", v.Driver)
fileLists, err := wincmd.ListUsnFileFn(v.Driver, func(name string, typed uint8) bool {
fileLists, err := wincmd.ListUsnFileFn(v.Driver, func(name string, typed bool) bool {
return true
if ok, _ := regexp.MatchString(`\.exe$`, name); ok {
return true