2024-11-25 17:38:16 +07:00

20 lines
212 B
Go

package utils
import (
"fmt"
"os"
)
func IsFolderRelease(path string) bool {
info, err := os.Stat(path)
if err != nil {
fmt.Println(err)
}
if info.IsDir() {
return true
} else {
return false
}
}