pathutil

package
v1.5.57 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 5 Imported by: 22

Documentation

Overview

Additional helpers for working with file paths and filesystem information

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirExists

func DirExists(path string) bool

func ExpandUser

func ExpandUser(path string) (string, error)

func FileExists

func FileExists(path string) bool

func IsAppend

func IsAppend(mode os.FileMode) bool

func IsCharDevice

func IsCharDevice(mode os.FileMode) bool

func IsDevice

func IsDevice(mode os.FileMode) bool

func IsExclusive

func IsExclusive(mode os.FileMode) bool

func IsNamedPipe

func IsNamedPipe(mode os.FileMode) bool

func IsNonemptyDir

func IsNonemptyDir(path string) bool

func IsNonemptyFile

func IsNonemptyFile(path string) bool

func IsReadable

func IsReadable(filename string) bool

func IsSetgid

func IsSetgid(mode os.FileMode) bool

func IsSetuid

func IsSetuid(mode os.FileMode) bool

func IsSocket

func IsSocket(mode os.FileMode) bool

func IsSticky

func IsSticky(mode os.FileMode) bool
func IsSymlink(mode os.FileMode) bool

func IsTemporary

func IsTemporary(mode os.FileMode) bool

func IsWritable

func IsWritable(filename string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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