]> Cypherpunks repositories - gostls13.git/commit
os: add examples for Mkdir and MkdirAll
authorAdrian Hesketh <adrianhesketh@hushmail.com>
Sun, 30 Jan 2022 19:11:32 +0000 (19:11 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Feb 2022 23:38:05 +0000 (23:38 +0000)
commit0b7e586e485d4790b240354513acbb8438bb842f
tree31107efe1c1604e9d3b3d736e15e9ce1f91e5bf3
parentc5bce7445e1792f134413ad312fd1f2211c0a55d
os: add examples for Mkdir and MkdirAll

Provides example using value for the perm argument that matches the value set by the mkdir command on MacOS and Linux.

Change-Id: I98d9ac9668de4dc0efde2484f5b00d005628ac9e
GitHub-Last-Rev: 44e617912f3604f4cc05a946d76cd3020acfd722
GitHub-Pull-Request: golang/go#50641
Reviewed-on: https://go-review.googlesource.com/c/go/+/378874
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
src/os/example_test.go