path

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	CreatDirectory(dir string) bool            //创建目录
	CurrentDirectory() string                  //返回当前目录
	GetCurrentDirectory() (ok bool)            //获取当前目录
	GetCurrentRunningPath() (ok bool)          //获取当前运行路径
	CurrentRunningPath() string                //返回当前运行路径
	GetFilepath(fileName string) (ok bool)     //获取文件路径
	Filepath() string                          //返回文件路径
	GetFileDirectory(Filepath string) string   //返回文件目录
	GetFilename(Filepath string) string        //返回文件名
	GetExtensionPath(Filepath string) string   //返回文件扩展名
	GetAbsolutePath(Filepath string) (ok bool) //获取绝对路径
	AbsolutePath() string                      //返回绝对路径
	GetUNCPath(fileName string) (ok bool)      //获取UNC路径
	UNCPath() string                           //返回UNC路径
}

func New

func New() Interface

Jump to

Keyboard shortcuts

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