Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Functions that deals with files and directories. Can cache Exists and Which.

License

NotificationsYou must be signed in to change notification settings

xyproto/files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Functions for querying files and paths.

Function signatures

func Exists(path string) boolfunc IsFile(path string) boolfunc IsSymlink(path string) boolfunc IsFileOrSymlink(path string) boolfunc IsDir(path string) boolfunc Which(executable string) stringfunc WhichCached(executable string) stringfunc PathHas(executable string) boolfunc PathHasCached(executable string) boolfunc BinDirectory(filename string) boolfunc DataReadyOnStdin() boolfunc IsBinary(filename string) boolfunc FilterOutBinaryFiles(filenames []string) []stringfunc TimestampedFilename(filename string) stringfunc ShortPath(path string) stringfunc FileHas(path, what string) boolfunc ReadString(filename string) stringfunc CanRead(filename string) boolfunc Relative(path string) stringfunc Touch(filename string) errorfunc ExistsCached(path string) boolfunc ClearCache()func RemoveFile(path string) errorfunc DirectoryWithFiles(path string) (bool, error)func IsExecutable(path string) boolfunc IsExecutableCached(path string) bool

General info

About

Functions that deals with files and directories. Can cache Exists and Which.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp