Utils
General utilities.
makedirs(path, exist_ok=False, mode=None)
Make the specified directory and any parent directories.
Source code in dvc_task/utils.py
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
|
remove(path)
Remove the specified path.
Source code in dvc_task/utils.py
35 36 37 38 39 40 41 42 43 44 45 |
|
unc_path(path)
Return UNC formatted path.
Returns the unmodified path on posix platforms.
Source code in dvc_task/utils.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
|