crash.software
Projects
Pull Requests
Issues
Builds
syft
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
syft
Files
🤬
Sign In
07e76907
ROOT
/
syft
/
internal
/
fileresolver
/
unindexed_directory.go
Search
History
543 lines
|
ISO-8859-1
|
13 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
_
:
file.Resolver
_
:
file.WritableResolver
UnindexedDirectory
ls
:
afero.Lstater
lr
:
afero.LinkReader
base
:
string
dir
:
string
fs
:
afero.Fs
FileContentsByLocation
(location file.Location)
:
(io.ReadCloser, error)
HasPath
(p string)
:
bool
canLstat
(p string)
:
bool
isRegularFile
(p string)
:
bool
scrubInputPath
(p string)
:
string
scrubResolutionPath
(p string)
:
string
absPath
(p string)
:
string
FilesByPath
(paths ...string)
:
(out []file.Location, _ error)
filesByPath
(resolveLinks bool, includeDirs bool, paths ...string)
:
(out []file.Location, _ error)
FilesByGlob
(patterns ...string)
:
(out []file.Location, _ error)
filesByGlob
(resolveLinks bool, includeDirs bool, patterns ...string)
:
(out []file.Location, _ error)
FilesByMIMEType
(_ ...string)
:
([]file.Location, error)
RelativeFileByPath
(l file.Location, p string)
:
*file.Location
AllLocations
()
:
<-chan file.Location
FileMetadataByLocation
(_ file.Location)
:
(file.Metadata, error)
Write
(location file.Location, reader io.Reader)
:
error
newLocation
(filePath string, resolveLinks bool)
:
*file.Location
resolveLinks
(filePath string)
:
[]string
isSymlink
(fi os.FileInfo)
:
bool
NewFromUnindexedDirectory
(dir string)
:
file.WritableResolver
NewFromRootedUnindexedDirectory
(dir string, base string)
:
file.WritableResolver
NewFromUnindexedDirectoryFS
(fs afero.Fs, dir string, base string)
:
file.WritableResolver
unindexedDirectoryResolverFS
u
:
UnindexedDirectory
resolve
(filePath string)
:
(resolved string, fi fs.FileInfo, err error)
ReadDir
(name string)
:
(out []fs.DirEntry, _ error)
Stat
(name string)
:
(fs.FileInfo, error)
Open
(name string)
:
(fs.File, error)
_
:
fs.FS
_
:
fs.StatFS
_
:
fs.ReadDirFS
unindexedDirectoryResolverDirEntry
unindexedDirectoryResolverFileInfo
Name
()
:
string
IsDir
()
:
bool
Type
()
:
fs.FileMode
Info
()
:
(fs.FileInfo, error)
_
:
fs.DirEntry
unindexedDirectoryResolverFile
u
:
UnindexedDirectory
path
:
string
Stat
()
:
(fs.FileInfo, error)
Read
(_ []byte)
:
(int, error)
Close
()
:
error
_
:
fs.File
unindexedDirectoryResolverFileInfo
u
:
UnindexedDirectory
name
:
string
size
:
int64
mode
:
fs.FileMode
modTime
:
time.Time
isDir
:
bool
sys
:
any
Name
()
:
string
Size
()
:
int64
Mode
()
:
fs.FileMode
ModTime
()
:
time.Time
IsDir
()
:
bool
Sys
()
:
any
newFsFileInfo
(u UnindexedDirectory, name string, isDir bool, fi os.FileInfo)
:
unindexedDirectoryResolverFileInfo
_
:
fs.FileInfo
All occurrences
Please wait...
Page is in error, reload to recover