MkdirAll creates a new directory with the specified name and permission bits (before umask) and all of its parent directories up to the root.
(name string, perm os.FileMode)
| 788 | // permission bits (before umask) and all of its parent directories up |
| 789 | // to the root. |
| 790 | func (vfs *VFS) MkdirAll(name string, perm os.FileMode) error { |
| 791 | _, err := vfs.mkdirAll(name, perm) |
| 792 | return err |
| 793 | } |
| 794 | |
| 795 | // ReadDir reads the directory named by dirname and returns |
| 796 | // a list of directory entries sorted by filename. |