Glob

Swift 5 的 Glob。

Build Status

用法

let files = Glob(pattern: "./**/*.swift")
for file in files {
    print(file)
}

致谢

改编自 efirestone