(path string)
| 293 | } |
| 294 | |
| 295 | func Stat(path string) bool { |
| 296 | _, err := os.Stat(path) |
| 297 | if err != nil && os.IsNotExist(err) { |
| 298 | return false |
| 299 | } |
| 300 | return true |
| 301 | } |
| 302 | |
| 303 | func GetFileMD5(filePath string) (string, error) { |
| 304 | file, err := os.Open(filePath) |