(path string)
| 60 | } |
| 61 | |
| 62 | func DeleteFile(path string) error { |
| 63 | err := os.Remove(path) |
| 64 | if err != nil { |
| 65 | logrus.Errorf("Delete File %s Error: %s", path, err.Error()) |
| 66 | } |
| 67 | return err |
| 68 | } |
| 69 | |
| 70 | func CheckPathType(path string) (int, error) { |
| 71 | file, err := os.Stat(path) |
nothing calls this directly
no outgoing calls
no test coverage detected