path

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package path provides utilities for handling filesystem paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Traverses

func Traverses(root, path string) (string, error)

Traverses check whether path traverses outside of root. Returns error if root is traversed.

func TraversesNonExistent

func TraversesNonExistent(root, path string) (string, error)

TraversesNonExistent works like Traverses but will walk up the path until it finds a directory that does exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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