os: Implement and smoke test Mkdir() and Remove()

This commit is contained in:
Dan Kegel
2021-11-14 12:31:26 -08:00
committed by Ron Evans
parent aea4f57a2b
commit 339301b709
5 changed files with 143 additions and 3 deletions
+2
View File
@@ -175,6 +175,8 @@ func IsPathSeparator(c uint8) bool {
}
// PathError records an error and the operation and file path that caused it.
// TODO: PathError moved to io/fs in go 1.16 and left an alias in os/errors.go.
// Do the same once we drop support for go 1.15.
type PathError struct {
Op string
Path string