Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RelativeToBase ¶
RelativeToBase resolves name against baseDir and returns the path relative to baseDir, rejecting anything that escapes it.
func WithinBase ¶
WithinBase reports whether path stays inside baseDir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.