package
Version:
v0.8.1
Opens a new window with list of versions in this module.
Published: Feb 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package pathx provides extensions to the path package.
Descends reports whether b is equal to, or a descendant of a.
fmt.Println(Descends("a", "a"))
fmt.Println(Descends("a", "a/b/c"))
fmt.Println(Descends("a/d", "a/b"))
Output:
true
true
false
Source Files
¶
Click to show internal directories.
Click to hide internal directories.