path_util

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPathExist

func AbsPathExist(path string) (bool, error)

exists returns whether the given file or directory exists, when err exist not sure

func ExE_Path

func ExE_Path(relpath string) string

return absolute path given relative path to the executable file folder

func ExE_PathStr

func ExE_PathStr() string

func SmartPathExist added in v0.1.12

func SmartPathExist(abs_or_rel_path string) (string, bool, error)

input a relative path or a absolute path return (abs_path,exist,err) if op-system file error then nothing meaningful

Types

This section is empty.

Jump to

Keyboard shortcuts

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