refactor: delete the superseded top-level packages (#667)

After the switch-over only two cmd tests used browser/, filemanager/, types/, and utils/fileutil.
The list test now compares against goldens of the output it proved equal to the old code's, and the
export test keeps its own fixture records; the binaries built before and after are byte-identical.
This commit is contained in:
Roger authored and GitHub committed 2026-10-29 14:59:13 +08:00
1 parent bbd353f314
commit a794674bd7
53 files changed
+85 -6653

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
package fileutil
import "os"
// FileExists checks if the file exists in the provided path.
func FileExists(filename string) bool {
info, err := os.Stat(filename)
if os.IsNotExist(err) {
return false
}
if err != nil {
return false
}
return !info.IsDir()
}