2024-03-10 15:39:05 +08:00
|
|
|
package starlog
|
2024-03-10 15:37:20 +08:00
|
|
|
|
2026-03-19 16:37:57 +08:00
|
|
|
import "b612.me/starlog/internal/fsutil"
|
2024-03-10 15:37:20 +08:00
|
|
|
|
|
|
|
|
func Exists(path string) bool {
|
2026-03-19 16:37:57 +08:00
|
|
|
return fsutil.Exists(path)
|
2024-03-10 15:37:20 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-19 16:37:57 +08:00
|
|
|
func IsFile(path string) bool {
|
|
|
|
|
return fsutil.IsFile(path)
|
2024-03-10 15:37:20 +08:00
|
|
|
}
|
|
|
|
|
|
2026-03-19 16:37:57 +08:00
|
|
|
func IsFolder(path string) bool {
|
|
|
|
|
return fsutil.IsFolder(path)
|
2024-03-10 15:37:20 +08:00
|
|
|
}
|