FileUtils
FileUtils copied to clipboard
Easy way to work with files, directories and paths in swift on macOS and linux.
Seeing these warnings. ``` InternalRegex.swift:93:37: warning: '+' is deprecated: Mixed-type addition is deprecated. Please use explicit type conversion. let start = Int(accOffset + regexMatches[j].rm_so) InternalRegex.swift:94:35: warning: '+' is deprecated: Mixed-type...
Directory.contents is failing when passed a directory. This is happening because Path.Type returns .file when actually it should be returning .directory. I was able to fix it by adding ||...