feat: 添加对本地文件的操作接口

This commit is contained in:
TsMask
2025-04-25 15:38:07 +08:00
parent 81e1112166
commit be5fb5eb94
6 changed files with 308 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
//go:build windows
// +build windows
package file
import (
"os"
)
// getFileInfo 获取系统特定的文件信息
func getFileInfo(_ os.FileInfo) (linkCount int64, owner, group string) {
return 1, "Administrator", "Administrators"
}