IsNotExistMkDir create a directory if it does not exist
(src string)
| 36 | |
| 37 | // IsNotExistMkDir create a directory if it does not exist |
| 38 | func IsNotExistMkDir(src string) error { |
| 39 | if notExist := CheckNotExist(src); notExist == true { |
| 40 | if err := MkDir(src); err != nil { |
| 41 | return err |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | return nil |
| 46 | } |
| 47 | |
| 48 | // MkDir create a directory |
| 49 | func MkDir(src string) error { |
no test coverage detected