files

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescendingDirs

func DescendingDirs(dir string) []string

DescendingDirs returns an array of directory names where each subsequent name in the array is one level deeper than the previous.

Example
fmt.Println(DescendingDirs("abc/123/000/343"))
Output:
[abc abc/123 abc/123/000 abc/123/000/343]

func Mkdirs

func Mkdirs(fs afero.Fs, dir string, uid, gid int, mode os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL