MCPcopy Create free account

hub / github.com/gtsteffaniak/filebrowser / functions

Functions1,657 in github.com/gtsteffaniak/filebrowser

FunctionTestDeleteFilesSubfolderWithRootName
TestDeleteFilesSubfolderWithRootName tests that deleting a subfolder with the same name as the root directory works correctly and doesn't accidentally
backend/adapters/fs/files/file_test.go:602
FunctionTestDeleteMetadata_DirectoryFromParentFolder
(t *testing.T)
backend/indexing/deletion_test.go:238
FunctionTestDeleteMetadata_FileRemoval
(t *testing.T)
backend/indexing/deletion_test.go:213
FunctionTestDeleteMetadata_RecursiveDirectoryCleanup
(t *testing.T)
backend/indexing/deletion_test.go:143
FunctionTestDeleteMetadata_RecursiveWithSubdirectories
(t *testing.T)
backend/indexing/deletion_test.go:177
FunctionTestExtractGroupsFromClaims_ArrayOfInterfaces
(t *testing.T)
backend/auth/jwt_test.go:305
FunctionTestExtractGroupsFromClaims_ArrayOfStrings
(t *testing.T)
backend/auth/jwt_test.go:289
FunctionTestExtractGroupsFromClaims_CustomClaimName
(t *testing.T)
backend/auth/jwt_test.go:349
FunctionTestExtractGroupsFromClaims_MissingClaim
(t *testing.T)
backend/auth/jwt_test.go:337
FunctionTestExtractGroupsFromClaims_SingleString
(t *testing.T)
backend/auth/jwt_test.go:321
FunctionTestExtractZip_nestedBackslashes
TestExtractZip_nestedBackslashes extracts a Windows-style path in a zip (backslashes) into nested directories under dest. This matches many vendor dri
backend/http/archive_test.go:242
FunctionTestFetchExtendedAttributes
TestFetchExtendedAttributes tests the fetchExtendedAttributes helper function
backend/indexing/getDirInfoCore_test.go:12
FunctionTestFetchExtendedAttributes_subdirHasPreviewFromMetadata
TestFetchExtendedAttributes_subdirHasPreviewFromMetadata checks folder hasPreview comes from one GetMetadataInfo (non-shallow).
backend/indexing/getDirInfoCore_test.go:47
FunctionTestFileCache
(t *testing.T)
backend/adapters/fs/diskcache/file_cache_test.go:13
FunctionTestFileInfoBrowsingBug
TestFileInfoBrowsingBug tests if the file browsing logic causes the access bug
backend/database/access/access_test.go:628
FunctionTestFilterRestrictedFields
(t *testing.T)
backend/database/storage/bolt/users_test.go:486
FunctionTestFolderSizeCalculation
(t *testing.T)
backend/indexing/indexingFiles_test.go:153
FunctionTestFolderVisibilityBugReproduction
TestFolderVisibilityBugReproduction tests the exact scenario reported by the user
backend/database/access/access_test.go:1038
FunctionTestGenerateConfigYaml_Basic
(t *testing.T)
backend/common/settings/generator_simple_test.go:9
FunctionTestGenerateConfigYaml_CommentsOnOff
(t *testing.T)
backend/common/settings/generator_test.go:248
FunctionTestGenerateConfigYaml_DeprecatedFiltering
(t *testing.T)
backend/common/settings/generator_test.go:166
FunctionTestGenerateConfigYaml_EdgeCases
(t *testing.T)
backend/common/settings/generator_test.go:428
FunctionTestGenerateConfigYaml_FullVsFiltered
(t *testing.T)
backend/common/settings/generator_test.go:194
FunctionTestGenerateConfigYaml_IntegrationTest
(t *testing.T)
backend/common/settings/generator_test.go:284
FunctionTestGenerateConfigYaml_SecretHiding
(t *testing.T)
backend/common/settings/generator_test.go:125
FunctionTestGenerateConfigYaml_StringQuoting
(t *testing.T)
backend/common/settings/generator_test.go:46
FunctionTestGenerateYaml_StaticGeneration
(t *testing.T)
backend/common/settings/generator_simple_test.go:189
FunctionTestGetContent_UTF8Truncation
(t *testing.T)
backend/adapters/fs/files/content_test.go:12
FunctionTestGetDirMetadata
(t *testing.T)
backend/indexing/mutate_test.go:256
FunctionTestGetDirectoryName
TestGetDirectoryName tests the directory name extraction logic
backend/indexing/getDirInfoCore_test.go:69
FunctionTestGetFileMetadata
(t *testing.T)
backend/indexing/mutate_test.go:140
FunctionTestGetFileMetadataSize
(t *testing.T)
backend/indexing/mutate_test.go:100
FunctionTestGetImageOrientation
(t *testing.T)
backend/ffmpeg/image_test.go:119
FunctionTestGetIndex
(t *testing.T)
backend/indexing/indexing_test.go:40
FunctionTestGetNonAdminEditableFieldNames
(t *testing.T)
backend/database/users/nonadmin_test.go:30
FunctionTestGetOrientationFilter
(t *testing.T)
backend/ffmpeg/image_test.go:9
FunctionTestGetOrientationFilter_AllEXIFValues
Test table for all EXIF orientation values
backend/ffmpeg/image_test.go:174
FunctionTestGetParentDirectoryPath
(t *testing.T)
backend/common/utils/main_test.go:7
FunctionTestHasAnyVisibleItems
TestHasAnyVisibleItems tests the HasAnyVisibleItems method
backend/database/access/access_test.go:1153
FunctionTestImageFitsPreviewSize
(t *testing.T)
backend/preview/image_test.go:508
FunctionTestInitialize
(t *testing.T)
backend/common/settings/config_test.go:12
FunctionTestInvalidConfig
(t *testing.T)
backend/common/settings/config_test.go:129
FunctionTestIsArchive
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:129
FunctionTestIsDoc
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:75
FunctionTestIsMatchingType
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:19
FunctionTestIsNeverWatchPath
(t *testing.T)
backend/indexing/conditionalRules_test.go:551
FunctionTestIsPathGone
(t *testing.T)
backend/indexing/indexingScanner_test.go:31
FunctionTestIsText
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:102
FunctionTestIsViewableWithParentCheck_DoesNotMutate
TestIsViewableWithParentCheck_DoesNotMutate verifies thread safety
backend/indexing/conditionalRules_test.go:746
FunctionTestIsViewableWithParentCheck_RecursiveParentWalking
TestIsViewableWithParentCheck_RecursiveParentWalking tests API request parent checking
backend/indexing/conditionalRules_test.go:649
FunctionTestIsViewable_DoesNotMutateFolderPaths
TestIsViewable_DoesNotMutateFolderPaths verifies that IsViewable doesn't modify FolderPaths
backend/indexing/conditionalRules_test.go:628
FunctionTestJSONAuth_InvalidPasswordHashInitialized
TestJSONAuth_InvalidPasswordHashInitialized verifies that InvalidPasswordHash is properly set
backend/auth/json_timing_test.go:346
FunctionTestJSONAuth_NoTimingAttack
TestJSONAuth_NoTimingAttack tests that authentication timing does not leak user existence
backend/auth/json_timing_test.go:188
FunctionTestLdapGroupMatchesAdmin
(t *testing.T)
backend/http/ldap_test.go:93
FunctionTestMain
(m *testing.M)
backend/database/sql/index_startup_test.go:13
FunctionTestMain
(m *testing.M)
backend/indexing/search_test.go:19
FunctionTestMain
(m *testing.M)
backend/preview/image_test.go:22
FunctionTestMakeIndexPath
(t *testing.T)
backend/indexing/indexing_test.go:140
FunctionTestMakeIndexPathRoot
(t *testing.T)
backend/indexing/indexing_test.go:191
FunctionTestMigrateUserDefaults_OldToNew
TestMigrateUserDefaults_OldToNew verifies that deprecated fields are correctly migrated to new fields
backend/common/settings/migration_test.go:10
FunctionTestMultiConfigFallback
(t *testing.T)
backend/common/settings/multiconfig_test.go:109
FunctionTestMultiConfigLoad
(t *testing.T)
backend/common/settings/multiconfig_test.go:9
FunctionTestMultiConfigWithNestedReferences
(t *testing.T)
backend/common/settings/multiconfig_test.go:149
FunctionTestMultiScannerMutex
TestMultiScannerMutex verifies that only one scanner can run at a time
backend/indexing/indexing_test.go:57
FunctionTestNestedFolderAccessBug
TestNestedFolderAccessBug reproduces the exact scenarios described by the user
backend/database/access/access_test.go:894
FunctionTestNewIndexDB_StartupOff
(t *testing.T)
backend/database/sql/index_startup_test.go:119
FunctionTestNewIndexDB_StartupProbe_NewFile
(t *testing.T)
backend/database/sql/index_startup_test.go:61
FunctionTestNewIndexDB_StartupProbe_ReopenWithData
(t *testing.T)
backend/database/sql/index_startup_test.go:73
FunctionTestNewIndexDB_StartupQuickCheckStillWorks
(t *testing.T)
backend/database/sql/index_startup_test.go:107
FunctionTestNonAdminEditableContainsOtpEnabled
(t *testing.T)
backend/database/users/nonadmin_test.go:8
FunctionTestNonRecursiveMetadataUpdate
(t *testing.T)
backend/indexing/indexingFiles_test.go:198
FunctionTestNormalizeArchiveEntryName
(t *testing.T)
backend/http/archive_test.go:11
FunctionTestNormalizeArchiveEntryName_unifiesBackslashes
TestNormalizeArchiveEntryName_backslashInFileNameOnUnix documents that after normalization a single backslash in the raw name is never a path separato
backend/http/archive_test.go:143
FunctionTestNormalizeStartupIntegrityMode
(t *testing.T)
backend/database/sql/index_startup_test.go:20
FunctionTestOnlyOfficeURLHostsMatch
(t *testing.T)
backend/http/onlyOffice_test.go:86
FunctionTestOverrideDirectoryToFile
TestDeleteFilesCacheClearing was removed because cache clearing is not performed per design decision - RealPathCache is auxiliary and doesn't need cle
backend/adapters/fs/files/file_test.go:304
FunctionTestOverrideFileToDirectory
(t *testing.T)
backend/adapters/fs/files/file_test.go:414
FunctionTestParseLdapServer
(t *testing.T)
backend/common/settings/auth_ldap_test.go:8
FunctionTestParseSearch
(t *testing.T)
backend/indexing/search_test.go:70
FunctionTestPermitted_CombinedRules
(t *testing.T)
backend/database/access/access_test.go:163
FunctionTestPermitted_DenyAll
(t *testing.T)
backend/database/access/access_test.go:208
FunctionTestPermitted_DenyByDefault
(t *testing.T)
backend/database/access/access_test.go:257
FunctionTestPermitted_DenyByDefaultWithDenyAll
(t *testing.T)
backend/database/access/access_test.go:357
FunctionTestPermitted_DenyByDefault_AdminRootAccess
(t *testing.T)
backend/database/access/access_test.go:425
FunctionTestPermitted_GroupBlacklist
(t *testing.T)
backend/database/access/access_test.go:109
FunctionTestPermitted_GroupWhitelist
(t *testing.T)
backend/database/access/access_test.go:130
FunctionTestPermitted_NoRule
(t *testing.T)
backend/database/access/access_test.go:151
FunctionTestPermitted_UserBlacklist
(t *testing.T)
backend/database/access/access_test.go:69
FunctionTestPermitted_UserWhitelist
(t *testing.T)
backend/database/access/access_test.go:89
FunctionTestPickUserEntry
(t *testing.T)
backend/http/ldap_test.go:18
FunctionTestPinnedItemsAddRemove
(t *testing.T)
backend/database/users/pinned_items_test.go:5
FunctionTestPinnedItemsMultipleDirectories
(t *testing.T)
backend/database/users/pinned_items_test.go:75
FunctionTestPinnedItemsMultipleItems
(t *testing.T)
backend/database/users/pinned_items_test.go:55
FunctionTestPinnedItemsRemoveMissing
(t *testing.T)
backend/database/users/pinned_items_test.go:47
FunctionTestPinnedNamesForDirectory
(t *testing.T)
backend/database/users/pinned_items_test.go:27
FunctionTestPrepareScanStateInitializesMaps
(t *testing.T)
backend/indexing/indexingScanner_test.go:13
FunctionTestPreviewDoesNotPropagateFromSubdirectories
(t *testing.T)
backend/indexing/indexingFiles_test.go:237
FunctionTestPreviewPropagatesFromFiles
(t *testing.T)
backend/indexing/indexingFiles_test.go:282
FunctionTestProcessDirectoryItem
TestProcessDirectoryItem tests the processDirectoryItem helper function
backend/indexing/getDirInfoCore_test.go:114
FunctionTestProcessFileItem
TestProcessFileItem tests the processFileItem helper function
backend/indexing/getDirInfoCore_test.go:233
← previousnext →1,201–1,300 of 1,657, ranked by callers