Since it's very common to check if exist a directory before of make
it, then this function would be very useful in "os" package.
* * *
func Exist(name string) (bool, os.Error) {
I was going to say, why? Because path is all aboiut hacking
paths, not about opening/checking them. Then I discovered
path.Walk. Oops.
So, why is Walk in path? It doesn't seem to belong there.
Maybe ioutil or os?
--
Chris "allusive" Dollin
--
Chris "allusive" Dollin
os.WalkFileTree
Chris
--
Chris "allusive" Dollin