mirror of
https://github.com/XZB-1248/Spark
synced 2025-10-11 02:40:10 +08:00
12 lines
163 B
Go
12 lines
163 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package file
|
|
|
|
func ListFiles(path string) ([]File, error) {
|
|
if len(path) == 0 {
|
|
path = `/`
|
|
}
|
|
return listFiles(path)
|
|
}
|