path

package
v0.0.0-...-197d37f Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RelevantPath

func RelevantPath(path string, n int) string

RelevantPath returns the right n directories from the path. If n is bigger than the number of directories the full path is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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