Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/gtsteffaniak/filebrowser
/ functions
Functions
1,657 in github.com/gtsteffaniak/filebrowser
⨍
Functions
1,657
◇
Types & classes
228
Function
TestDeleteFilesSubfolderWithRootName
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
Function
TestDeleteMetadata_DirectoryFromParentFolder
(t *testing.T)
backend/indexing/deletion_test.go:238
Function
TestDeleteMetadata_FileRemoval
(t *testing.T)
backend/indexing/deletion_test.go:213
Function
TestDeleteMetadata_RecursiveDirectoryCleanup
(t *testing.T)
backend/indexing/deletion_test.go:143
Function
TestDeleteMetadata_RecursiveWithSubdirectories
(t *testing.T)
backend/indexing/deletion_test.go:177
Function
TestExtractGroupsFromClaims_ArrayOfInterfaces
(t *testing.T)
backend/auth/jwt_test.go:305
Function
TestExtractGroupsFromClaims_ArrayOfStrings
(t *testing.T)
backend/auth/jwt_test.go:289
Function
TestExtractGroupsFromClaims_CustomClaimName
(t *testing.T)
backend/auth/jwt_test.go:349
Function
TestExtractGroupsFromClaims_MissingClaim
(t *testing.T)
backend/auth/jwt_test.go:337
Function
TestExtractGroupsFromClaims_SingleString
(t *testing.T)
backend/auth/jwt_test.go:321
Function
TestExtractZip_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
Function
TestFetchExtendedAttributes
TestFetchExtendedAttributes tests the fetchExtendedAttributes helper function
backend/indexing/getDirInfoCore_test.go:12
Function
TestFetchExtendedAttributes_subdirHasPreviewFromMetadata
TestFetchExtendedAttributes_subdirHasPreviewFromMetadata checks folder hasPreview comes from one GetMetadataInfo (non-shallow).
backend/indexing/getDirInfoCore_test.go:47
Function
TestFileCache
(t *testing.T)
backend/adapters/fs/diskcache/file_cache_test.go:13
Function
TestFileInfoBrowsingBug
TestFileInfoBrowsingBug tests if the file browsing logic causes the access bug
backend/database/access/access_test.go:628
Function
TestFilterRestrictedFields
(t *testing.T)
backend/database/storage/bolt/users_test.go:486
Function
TestFolderSizeCalculation
(t *testing.T)
backend/indexing/indexingFiles_test.go:153
Function
TestFolderVisibilityBugReproduction
TestFolderVisibilityBugReproduction tests the exact scenario reported by the user
backend/database/access/access_test.go:1038
Function
TestGenerateConfigYaml_Basic
(t *testing.T)
backend/common/settings/generator_simple_test.go:9
Function
TestGenerateConfigYaml_CommentsOnOff
(t *testing.T)
backend/common/settings/generator_test.go:248
Function
TestGenerateConfigYaml_DeprecatedFiltering
(t *testing.T)
backend/common/settings/generator_test.go:166
Function
TestGenerateConfigYaml_EdgeCases
(t *testing.T)
backend/common/settings/generator_test.go:428
Function
TestGenerateConfigYaml_FullVsFiltered
(t *testing.T)
backend/common/settings/generator_test.go:194
Function
TestGenerateConfigYaml_IntegrationTest
(t *testing.T)
backend/common/settings/generator_test.go:284
Function
TestGenerateConfigYaml_SecretHiding
(t *testing.T)
backend/common/settings/generator_test.go:125
Function
TestGenerateConfigYaml_StringQuoting
(t *testing.T)
backend/common/settings/generator_test.go:46
Function
TestGenerateYaml_StaticGeneration
(t *testing.T)
backend/common/settings/generator_simple_test.go:189
Function
TestGetContent_UTF8Truncation
(t *testing.T)
backend/adapters/fs/files/content_test.go:12
Function
TestGetDirMetadata
(t *testing.T)
backend/indexing/mutate_test.go:256
Function
TestGetDirectoryName
TestGetDirectoryName tests the directory name extraction logic
backend/indexing/getDirInfoCore_test.go:69
Function
TestGetFileMetadata
(t *testing.T)
backend/indexing/mutate_test.go:140
Function
TestGetFileMetadataSize
(t *testing.T)
backend/indexing/mutate_test.go:100
Function
TestGetImageOrientation
(t *testing.T)
backend/ffmpeg/image_test.go:119
Function
TestGetIndex
(t *testing.T)
backend/indexing/indexing_test.go:40
Function
TestGetNonAdminEditableFieldNames
(t *testing.T)
backend/database/users/nonadmin_test.go:30
Function
TestGetOrientationFilter
(t *testing.T)
backend/ffmpeg/image_test.go:9
Function
TestGetOrientationFilter_AllEXIFValues
Test table for all EXIF orientation values
backend/ffmpeg/image_test.go:174
Function
TestGetParentDirectoryPath
(t *testing.T)
backend/common/utils/main_test.go:7
Function
TestHasAnyVisibleItems
TestHasAnyVisibleItems tests the HasAnyVisibleItems method
backend/database/access/access_test.go:1153
Function
TestImageFitsPreviewSize
(t *testing.T)
backend/preview/image_test.go:508
Function
TestInitialize
(t *testing.T)
backend/common/settings/config_test.go:12
Function
TestInvalidConfig
(t *testing.T)
backend/common/settings/config_test.go:129
Function
TestIsArchive
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:129
Function
TestIsDoc
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:75
Function
TestIsMatchingType
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:19
Function
TestIsNeverWatchPath
(t *testing.T)
backend/indexing/conditionalRules_test.go:551
Function
TestIsPathGone
(t *testing.T)
backend/indexing/indexingScanner_test.go:31
Function
TestIsText
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:102
Function
TestIsViewableWithParentCheck_DoesNotMutate
TestIsViewableWithParentCheck_DoesNotMutate verifies thread safety
backend/indexing/conditionalRules_test.go:746
Function
TestIsViewableWithParentCheck_RecursiveParentWalking
TestIsViewableWithParentCheck_RecursiveParentWalking tests API request parent checking
backend/indexing/conditionalRules_test.go:649
Function
TestIsViewable_DoesNotMutateFolderPaths
TestIsViewable_DoesNotMutateFolderPaths verifies that IsViewable doesn't modify FolderPaths
backend/indexing/conditionalRules_test.go:628
Function
TestJSONAuth_InvalidPasswordHashInitialized
TestJSONAuth_InvalidPasswordHashInitialized verifies that InvalidPasswordHash is properly set
backend/auth/json_timing_test.go:346
Function
TestJSONAuth_NoTimingAttack
TestJSONAuth_NoTimingAttack tests that authentication timing does not leak user existence
backend/auth/json_timing_test.go:188
Function
TestLdapGroupMatchesAdmin
(t *testing.T)
backend/http/ldap_test.go:93
Function
TestMain
(m *testing.M)
backend/database/sql/index_startup_test.go:13
Function
TestMain
(m *testing.M)
backend/indexing/search_test.go:19
Function
TestMain
(m *testing.M)
backend/preview/image_test.go:22
Function
TestMakeIndexPath
(t *testing.T)
backend/indexing/indexing_test.go:140
Function
TestMakeIndexPathRoot
(t *testing.T)
backend/indexing/indexing_test.go:191
Function
TestMigrateUserDefaults_OldToNew
TestMigrateUserDefaults_OldToNew verifies that deprecated fields are correctly migrated to new fields
backend/common/settings/migration_test.go:10
Function
TestMultiConfigFallback
(t *testing.T)
backend/common/settings/multiconfig_test.go:109
Function
TestMultiConfigLoad
(t *testing.T)
backend/common/settings/multiconfig_test.go:9
Function
TestMultiConfigWithNestedReferences
(t *testing.T)
backend/common/settings/multiconfig_test.go:149
Function
TestMultiScannerMutex
TestMultiScannerMutex verifies that only one scanner can run at a time
backend/indexing/indexing_test.go:57
Function
TestNestedFolderAccessBug
TestNestedFolderAccessBug reproduces the exact scenarios described by the user
backend/database/access/access_test.go:894
Function
TestNewIndexDB_StartupOff
(t *testing.T)
backend/database/sql/index_startup_test.go:119
Function
TestNewIndexDB_StartupProbe_NewFile
(t *testing.T)
backend/database/sql/index_startup_test.go:61
Function
TestNewIndexDB_StartupProbe_ReopenWithData
(t *testing.T)
backend/database/sql/index_startup_test.go:73
Function
TestNewIndexDB_StartupQuickCheckStillWorks
(t *testing.T)
backend/database/sql/index_startup_test.go:107
Function
TestNonAdminEditableContainsOtpEnabled
(t *testing.T)
backend/database/users/nonadmin_test.go:8
Function
TestNonRecursiveMetadataUpdate
(t *testing.T)
backend/indexing/indexingFiles_test.go:198
Function
TestNormalizeArchiveEntryName
(t *testing.T)
backend/http/archive_test.go:11
Function
TestNormalizeArchiveEntryName_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
Function
TestNormalizeStartupIntegrityMode
(t *testing.T)
backend/database/sql/index_startup_test.go:20
Function
TestOnlyOfficeURLHostsMatch
(t *testing.T)
backend/http/onlyOffice_test.go:86
Function
TestOverrideDirectoryToFile
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
Function
TestOverrideFileToDirectory
(t *testing.T)
backend/adapters/fs/files/file_test.go:414
Function
TestParseLdapServer
(t *testing.T)
backend/common/settings/auth_ldap_test.go:8
Function
TestParseSearch
(t *testing.T)
backend/indexing/search_test.go:70
Function
TestPermitted_CombinedRules
(t *testing.T)
backend/database/access/access_test.go:163
Function
TestPermitted_DenyAll
(t *testing.T)
backend/database/access/access_test.go:208
Function
TestPermitted_DenyByDefault
(t *testing.T)
backend/database/access/access_test.go:257
Function
TestPermitted_DenyByDefaultWithDenyAll
(t *testing.T)
backend/database/access/access_test.go:357
Function
TestPermitted_DenyByDefault_AdminRootAccess
(t *testing.T)
backend/database/access/access_test.go:425
Function
TestPermitted_GroupBlacklist
(t *testing.T)
backend/database/access/access_test.go:109
Function
TestPermitted_GroupWhitelist
(t *testing.T)
backend/database/access/access_test.go:130
Function
TestPermitted_NoRule
(t *testing.T)
backend/database/access/access_test.go:151
Function
TestPermitted_UserBlacklist
(t *testing.T)
backend/database/access/access_test.go:69
Function
TestPermitted_UserWhitelist
(t *testing.T)
backend/database/access/access_test.go:89
Function
TestPickUserEntry
(t *testing.T)
backend/http/ldap_test.go:18
Function
TestPinnedItemsAddRemove
(t *testing.T)
backend/database/users/pinned_items_test.go:5
Function
TestPinnedItemsMultipleDirectories
(t *testing.T)
backend/database/users/pinned_items_test.go:75
Function
TestPinnedItemsMultipleItems
(t *testing.T)
backend/database/users/pinned_items_test.go:55
Function
TestPinnedItemsRemoveMissing
(t *testing.T)
backend/database/users/pinned_items_test.go:47
Function
TestPinnedNamesForDirectory
(t *testing.T)
backend/database/users/pinned_items_test.go:27
Function
TestPrepareScanStateInitializesMaps
(t *testing.T)
backend/indexing/indexingScanner_test.go:13
Function
TestPreviewDoesNotPropagateFromSubdirectories
(t *testing.T)
backend/indexing/indexingFiles_test.go:237
Function
TestPreviewPropagatesFromFiles
(t *testing.T)
backend/indexing/indexingFiles_test.go:282
Function
TestProcessDirectoryItem
TestProcessDirectoryItem tests the processDirectoryItem helper function
backend/indexing/getDirInfoCore_test.go:114
Function
TestProcessFileItem
TestProcessFileItem tests the processFileItem helper function
backend/indexing/getDirInfoCore_test.go:233
← previous
next →
1,201–1,300 of 1,657, ranked by callers