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
b81c9805
ROOT
/
syft
/
source
/
directory_resolver_test.go
Search
History
961 lines
|
ISO-8859-1
|
23 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
TestDirectoryResolver_FilesByPath_relativeRoot
(t *testing.T)
TestDirectoryResolver_FilesByPath_absoluteRoot
(t *testing.T)
TestDirectoryResolver_FilesByPath
(t *testing.T)
TestDirectoryResolver_MultipleFilesByPath
(t *testing.T)
TestDirectoryResolver_FilesByGlobMultiple
(t *testing.T)
TestDirectoryResolver_FilesByGlobRecursive
(t *testing.T)
TestDirectoryResolver_FilesByGlobSingle
(t *testing.T)
TestDirectoryResolver_FilesByPath_ResolvesSymlinks
(t *testing.T)
TestDirectoryResolverDoesNotIgnoreRelativeSystemPaths
(t *testing.T)
_
:
fs.FileInfo
testFileInfo
mode
:
os.FileMode
Name
()
:
string
Size
()
:
int64
Mode
()
:
fs.FileMode
ModTime
()
:
time.Time
IsDir
()
:
bool
Sys
()
:
interface{}
Test_isUnallowableFileType
(t *testing.T)
Test_directoryResolver_index
(t *testing.T)
Test_handleFileAccessErr
(t *testing.T)
indexerMock
observedRoots
:
[]string
additionalRoots
:
map[string][]string
Test_indexAllRoots
(t *testing.T)
Test_directoryResolver_FilesByMIMEType
(t *testing.T)
Test_IndexingNestedSymLinks
(t *testing.T)
Test_IndexingNestedSymLinks_ignoredIndexes
(t *testing.T)
Test_IndexingNestedSymLinksOutsideOfRoot
(t *testing.T)
Test_RootViaSymlink
(t *testing.T)
Test_directoryResolver_FileContentsByLocation
(t *testing.T)
Test_isUnixSystemRuntimePath
(t *testing.T)
Test_SymlinkLoopWithGlobsShouldResolve
(t *testing.T)
testWithTimeout
(t *testing.T, timeout time.Duration, test func(*testing.T))
Test_IncludeRootPathInIndex
(t *testing.T)
TestDirectoryResolver_indexPath
(t *testing.T)
TestDirectoryResolver_FilesByPath_baseRoot
(t *testing.T)
*indexerMock
indexer
(s string, _ *progress.Stage)
:
([]string, error)
All occurrences
Please wait...
Page is in error, reload to recover