You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard library provides the path/filepath package that simplifies some common filesystem path handling tasks like glob pattern matching and many more useful functions.
golib will provide a io/fs/filepath package that extends the filepath package with more utilities.
For more advanced and extended features see packages like github.com/spf13/afero instead.
Please note that some functions will interact with the underlying filesystem through on-disk operations!
IsSubDir(parentPath, subPath string, evalSymlinks bool) (bool, error) — checks if a path is a subdirectory of another path.
The text was updated successfully, but these errors were encountered:
The standard library provides the `path/filepath` [1] package that
simplifies some common filesystem path handling tasks like "glob"
pattern matching [2] and many more useful functions.
golib now provides a `io/fs/filepath` package that extends the
`filepath` [1] package with more utilities. For more advanced and
extended features see packages like github.com/spf13/afero [3] instead.
Please note that some functions interact with the underlying filesystem
through on-disk operations!
- IsSubDir(parentPath, subPath string, evalSymlinks bool) (bool, error)
checks if a path is a subdirectory of another path.
[1]: https://golang.org/pkg/path/filepath
[2]: https://golang.org/pkg/path/filepath/#Glob
[3]: https://github.com/spf13/aferoGH-5
The standard library provides the `path/filepath` [1] package that
simplifies some common filesystem path handling tasks like "glob"
pattern matching [2] and many more useful functions.
golib now provides a `io/fs/filepath` package that extends the
`filepath` [1] package with more utilities. For more advanced and
extended features see packages like github.com/spf13/afero [3] instead.
Please note that some functions interact with the underlying filesystem
through on-disk operations!
- IsSubDir(parentPath, subPath string, evalSymlinks bool) (bool, error)
checks if a path is a subdirectory of another path.
[1]: https://golang.org/pkg/path/filepath
[2]: https://golang.org/pkg/path/filepath/#Glob
[3]: https://github.com/spf13/aferoClosesGH-5
The standard library provides the path/filepath package that simplifies some common filesystem path handling tasks like glob pattern matching and many more useful functions.
golib will provide a io/fs/filepath package that extends the filepath package with more utilities.
For more advanced and extended features see packages like github.com/spf13/afero instead.
Please note that some functions will interact with the underlying filesystem through on-disk operations!
IsSubDir(parentPath, subPath string, evalSymlinks bool) (bool, error)
— checks if a path is a subdirectory of another path.The text was updated successfully, but these errors were encountered: