fsx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapesBaseDir

func EscapesBaseDir(p string) bool

EscapesBaseDir gets a value indicating whether provided relative path escapes the base directory. The function panics if provided path is not relative.

func Resolve

func Resolve(basePath, p string) string

Resolve resolves the given path relative to the basePath if it's not absolute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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