crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
2a12dd09
ROOT
/
pkg
/
util
/
file
/
file.go
Search
History
329 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
guessByteCount
ignoredFilenames
AllowDirFunction
VisitFileFunction
Path
AbsolutePath
:
string
RelativePath
:
string
FileInfo
Path
os.FileInfo
isBinary
:
bool
isDocumentation
:
bool
IsGenerated
:
bool
isImage
:
bool
isTest
:
bool
isGitIgnored
:
bool
Extension
:
string
Base
:
string
IsConfiguration
:
bool
IsDotFile
:
bool
IsVendor
:
bool
Language
:
string
LanguageType
:
enry.Type
IterateFilesList
(rootDir string, files []string, allowDir AllowDirFunction, visitFile VisitFileFunction)
:
error
newFileInfo
(gitIgnore *ignore.GitIgnore, path *Path, file os.FileInfo)
:
(*FileInfo, error)
FileInfoFromPath
(filePath string)
:
(*FileInfo, error)
guessBytes
(filename string)
:
([]byte, error)
getGitIgnore
(rootPath string)
:
*ignore.GitIgnore
EnsureFileExists
(filePath string)
:
*os.File
ReadFileSingleLine
(filePath string, lineNumber int)
:
(string, error)
*Path
Join
(elements ...string)
:
*Path
Exists
()
:
bool
*FileInfo
isGlobalIgnored
()
:
bool
LanguageTypeString
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover