mft function rewrite
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user