The file mode is a bit field stored as a uint32, but string formatting outputs its integer value, rather than the bit field representation. For example, see https://play.golang.org/p/2RKyDuBXOYu
Very good catch. The uint32 converting the octet bit format to a number problem. We could use strings to begin with rather than using os.FileMode. Fixing this with unit32 -> octet string conversion for now.
In #27,
MkdirAll
The file mode is a bit field stored as a
uint32
, but string formatting outputs its integer value, rather than the bit field representation. For example, see https://play.golang.org/p/2RKyDuBXOYu