projectpath

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package projectpath contains functions to expand // to the current project path.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandProjectPath

func ExpandProjectPath(path string) string

ExpandProjectPath expands paths with leading //-prefix with the default project path.

func Expander

func Expander() expander.Expander

Expander returns an expander based on the current projectpath.

func IsProjectPathPresent

func IsProjectPathPresent(path string) bool

IsProjectPathPresent says whether the given path is expandable.

func ProjectPath

func ProjectPath() string

ProjectPath returns the current project path.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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