Closed ConfusedVorlon closed 5 years ago
1.0.0-alpha
removed the Entry
type altogether and ls()
now returns [Path]
.
This was done as the Entry
type was just fiddly and you can compose to get the same results that Entry
gave you using eg. filter
and isDirectory
.
Though this could lead to race conditions, in real life this is unlikely and code concerned thus should use the new Path.find()
builder function.
sounds good - I'll be happy to see the back of Entry :)
How about...
This allows
let pathsInDirectory = try? myDirectoryPath.ls().paths