xpath

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(path string) bool

IsDir 是否是目录

func IsFile

func IsFile(path string) bool

IsFile 是否是文件

func Split

func Split(path string) (dir, file, name, ext string)

Split 将路径分割成目录、文件、文件名、后缀

Types

type FileInfo

type FileInfo interface {
	os.FileInfo
	IsFile() bool
}

func Stat

func Stat(path string) (FileInfo, error)

Jump to

Keyboard shortcuts

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