pathutil

package
v0.126.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package pathutil implements utility routines for manipulating slash-separated paths.

The path package should only be used for paths separated by forward slashes, such as the paths in URLs. This package does not deal with Windows paths with drive letters or backslashes; to manipulate operating system paths, use the path/filepath package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Canonical

func Canonical(p string) string

func Clean

func Clean(p string) string

func Join

func Join(parts ...string) string

func Split

func Split(p string) []string

func Unshift

func Unshift(path string) (_pathParameter string, _remainingPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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