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
TestPublicShareHandlerAuthentication
(t *testing.T)
backend/http/middleware_test.go:147
Function
TestReadImageFileDimensions
(t *testing.T)
backend/preview/image_test.go:534
Function
TestRemoveGroupCascade_DenyRules
TestRemoveGroupCascade_DenyRules tests cascade delete for group deny rules specifically
backend/database/access/access_test.go:1453
Function
TestRemoveGroupCascade_OnlyRemovesSpecificList
TestRemoveGroupCascade_OnlyRemovesSpecificList tests cascade delete for groups
backend/database/access/access_test.go:1396
Function
TestRemoveUserCascade_CleanupEmptyRules
TestRemoveUserCascade_CleanupEmptyRules tests that empty rules are cleaned up
backend/database/access/access_test.go:1617
Function
TestRemoveUserCascade_DenyRules
TestRemoveUserCascade_DenyRules tests cascade delete for deny rules specifically
backend/database/access/access_test.go:1280
Function
TestRemoveUserCascade_DoesNotAffectParentPaths
TestRemoveUserCascade_DoesNotAffectParentPaths tests that parent paths are not affected
backend/database/access/access_test.go:1572
Function
TestRemoveUserCascade_EmptyResult
TestRemoveUserCascade_EmptyResult tests cascade delete when no rules exist
backend/database/access/access_test.go:1515
Function
TestRemoveUserCascade_ExactPathOnly
TestRemoveUserCascade_ExactPathOnly tests that exact path is included in cascade
backend/database/access/access_test.go:1538
Function
TestRemoveUserCascade_MixedUsers
TestRemoveUserCascade_MixedUsers tests that cascade delete only affects the specified user
backend/database/access/access_test.go:1669
Function
TestRemoveUserCascade_MultipleSubpaths
TestRemoveUserCascade_MultipleSubpaths tests cascade delete across multiple subpath levels
backend/database/access/access_test.go:1337
Function
TestRemoveUserCascade_OnlyRemovesSpecificList
TestRemoveUserCascade_OnlyRemovesSpecificList tests that cascade delete only removes from the specified list
backend/database/access/access_test.go:1223
Function
TestResize_ConcurrencyLimit
TestResize_ConcurrencyLimit verifies that imageSem works for basic concurrency control
backend/preview/image_test.go:454
Function
TestResize_ConcurrencyLimit_NoFFmpeg
TestResize_ConcurrencyLimit_NoFFmpeg verifies that imageSem works correctly
backend/preview/image_test.go:469
Function
TestResolveOnlyOfficeDownloadURL
(t *testing.T)
backend/http/onlyOffice_test.go:8
Function
TestSafeExtractPath
(t *testing.T)
backend/http/archive_test.go:154
Function
TestSafeExtractPath_destJoinDoesNotDropBase
TestSafeExtractPath_destJoinDoesNotDropBase verifies that a previously problematic pattern (root-relative second segment) does not throw away dest aft
backend/http/archive_test.go:228
Function
TestSafeExtractPath_rejectsParentTraversal
TestSafeExtractPath_rejectsParentTraversal ensures ".." in the archive name is rejected by normalizeArchiveEntryName, not written under dest.
backend/http/archive_test.go:217
Function
TestScheduleTierBoundsForComplexity
(t *testing.T)
backend/indexing/indexingSchedulerLoop_test.go:34
Function
TestSearchIndexes
(t *testing.T)
backend/indexing/search_test.go:203
Function
TestSearchLargestModeExcludesRoot
(t *testing.T)
backend/indexing/search_test.go:484
Function
TestSearchLargestModeExcludesScopeDirectory
(t *testing.T)
backend/indexing/search_test.go:580
Function
TestSearchWhileIndexing
(t *testing.T)
backend/indexing/search_test.go:140
Function
TestService_FormatFromExtension
(t *testing.T)
backend/preview/image_test.go:366
Function
TestService_Resize
(t *testing.T)
backend/preview/image_test.go:35
Function
TestSetDirectoryInfo
(t *testing.T)
backend/indexing/mutate_test.go:271
Function
TestShouldBubbleUpToFolderPreview
(t *testing.T)
backend/indexing/iteminfo/mediaMeta_test.go:5
Function
TestShouldSkip_FileEndsWith
(t *testing.T)
backend/indexing/conditionalRules_test.go:333
Function
TestShouldSkip_FileInExcludedFolderPath
(t *testing.T)
backend/indexing/conditionalRules_test.go:433
Function
TestShouldSkip_FilePaths
(t *testing.T)
backend/indexing/conditionalRules_test.go:381
Function
TestShouldSkip_FileStartsWith
(t *testing.T)
backend/indexing/conditionalRules_test.go:285
Function
TestShouldSkip_FolderNames
(t *testing.T)
backend/indexing/conditionalRules_test.go:174
Function
TestShouldSkip_FolderPaths
(t *testing.T)
backend/indexing/conditionalRules_test.go:225
Function
TestShouldSkip_FolderStartsWith
(t *testing.T)
backend/indexing/conditionalRules_test.go:106
Function
TestShouldSkip_HiddenFiles
(t *testing.T)
backend/indexing/conditionalRules_test.go:526
Function
TestShouldSkip_MultipleRules
(t *testing.T)
backend/indexing/conditionalRules_test.go:462
Function
TestShouldSkip_ViewableStillSkips
(t *testing.T)
backend/indexing/conditionalRules_test.go:510
Function
TestSortItems
(t *testing.T)
backend/adapters/fs/files/file_test.go:198
Function
TestSubfolderAccessLogicBug
TestSubfolderAccessLogicBug tests the theory that the bug is caused by subfolder access logic
backend/database/access/access_test.go:569
Function
TestUnixModeToFileMode_setgid
(t *testing.T)
backend/adapters/fs/fileutils/file_test.go:8
Function
TestUpdateFileMetadata
(t *testing.T)
backend/indexing/mutate_test.go:211
Function
TestUpdateMetadata_batchScanPersistListedFolders
(t *testing.T)
backend/indexing/mutate_test.go:325
Function
TestUpdateSize
(t *testing.T)
backend/indexing/iteminfo/conditions_test.go:53
Function
TestUpdateUserScopes_Phases
(t *testing.T)
backend/cmd/user_test.go:12
Function
TestUpdate_AdminModifyOtherUser
(t *testing.T)
backend/database/storage/bolt/users_test.go:72
Function
TestUpdate_AdminModifySelf
(t *testing.T)
backend/database/storage/bolt/users_test.go:141
Function
TestUpdate_EmptyFieldsAfterFiltering
(t *testing.T)
backend/database/storage/bolt/users_test.go:457
Function
TestUpdate_NonAdminModifyOtherUser
(t *testing.T)
backend/database/storage/bolt/users_test.go:322
Function
TestUpdate_NonAdminModifyOtherUserOtp
(t *testing.T)
backend/database/storage/bolt/users_test.go:356
Function
TestUpdate_NonAdminModifySelf
(t *testing.T)
backend/database/storage/bolt/users_test.go:181
Function
TestUpdate_NonAdminModifySelfRestrictedFields
(t *testing.T)
backend/database/storage/bolt/users_test.go:248
Function
TestUpdate_WhichAllVsSpecific
(t *testing.T)
backend/database/storage/bolt/users_test.go:389
Function
TestUserInfoUnmarshaller
(t *testing.T)
backend/http/oidc_test.go:9
Function
TestUserInfoUnmarshaller_InvalidJSON
(t *testing.T)
backend/http/oidc_test.go:197
Function
TestUserReportedBug
TestUserReportedBug reproduces the exact scenario described by the user
backend/database/access/access_test.go:500
Function
TestValidateLdapAuth_ConfigValidation
(t *testing.T)
backend/common/settings/auth_ldap_test.go:154
Function
TestVerifyExternalJWT_CertificatePEM
(t *testing.T)
backend/auth/jwt_test.go:251
Function
TestVerifyExternalJWT_CustomUserIdentifier
(t *testing.T)
backend/auth/jwt_test.go:126
Function
TestVerifyExternalJWT_ES256_PublicKeyPEM
(t *testing.T)
backend/auth/jwt_test.go:155
Function
TestVerifyExternalJWT_ES256_WrongCurveRejected
(t *testing.T)
backend/auth/jwt_test.go:219
Function
TestVerifyExternalJWT_ExpiredToken
(t *testing.T)
backend/auth/jwt_test.go:53
Function
TestVerifyExternalJWT_InvalidSignature
(t *testing.T)
backend/auth/jwt_test.go:77
Function
TestVerifyExternalJWT_MissingUsernameClaim
(t *testing.T)
backend/auth/jwt_test.go:102
Function
TestVerifyExternalJWT_RS256_PublicKeyPEM
(t *testing.T)
backend/auth/jwt_test.go:187
Function
TestVerifyExternalJWT_ValidToken
(t *testing.T)
backend/auth/jwt_test.go:19
Function
TestVerifyLdapConnection_ValidationOnly
(t *testing.T)
backend/common/settings/auth_ldap_test.go:115
Function
TestVideoPreviewDefaults
(t *testing.T)
backend/common/settings/video_preview_test.go:10
Function
TestVideoPreviewFormatCategories
(t *testing.T)
backend/common/settings/video_preview_test.go:193
Function
TestVideoPreviewFormatCount
(t *testing.T)
backend/common/settings/video_preview_test.go:230
Function
TestWebDAV_AccessControl
Test access control rules
backend/http/webdav_test.go:576
Function
TestWebDAV_IndexingStates
Test indexing states (indexed, viewable, not-viewable)
backend/http/webdav_test.go:693
Function
TestWebDAV_PROPFIND_UserScopes
Test PROPFIND with different user scopes
backend/http/webdav_test.go:281
Function
TestWebDAV_WriteOperations
Test WebDAV write operations with access control
backend/http/webdav_test.go:422
Function
TestWithAdminHelper
(t *testing.T)
backend/http/middleware_test.go:69
Function
TestWriteFilePreservesExecutableBit
Regression: PUT / save must not os.Chmod to PermFile for existing files, or +x (and other mode bits) are lost (#2309).
backend/adapters/fs/files/file_test.go:94
Function
TestWriteFileRejectsExistingDirectory
(t *testing.T)
backend/adapters/fs/files/file_test.go:149
Function
Test_GetRealPath
(t *testing.T)
backend/adapters/fs/files/file_test.go:22
Function
Test_setDefaults
(t *testing.T)
backend/common/settings/config_test.go:29
Method
TryAcquire
TryAcquire attempts to acquire resources for processing an image Returns false if memory limit would be exceeded
backend/preview/memory_tracker.go:31
Method
UnmarshalJSON
UnmarshalJSON implements the json.Unmarshaler interface
backend/http/oidc.go:39
Method
UnmarshalText
UnmarshalText implements the text unmarshaller method
backend/preview/image_enum.go:88
Method
UnmarshalText
UnmarshalText implements the text unmarshaller method
backend/preview/image_enum.go:170
Method
UnmarshalText
UnmarshalText implements the text unmarshaller method
backend/preview/image_enum.go:248
Function
Unregister
(username string, ch chan EventMessage)
backend/events/eventRouter.go:76
Method
Update
(u *User, adminActor bool, fields ...string)
backend/database/users/storage.go:16
Method
Update
(user *users.User, actorIsAdmin bool, fields ...string)
backend/database/storage/bolt/users.go:71
Method
Update
(u *users.User, adminActor bool, fields ...string)
backend/auth/json_timing_test.go:81
Method
UpdateCacheSize
UpdateCacheSize updates the SQLite cache size at runtime.
backend/database/sql/index.go:605
Function
UpdateCredentialFromLibrary
UpdateCredentialFromLibrary updates an existing WebAuthnCredential from the library's Credential (used after login to update sign count, flags, and la
backend/database/users/webauthn.go:120
Method
Value
Value implements the driver Valuer interface.
backend/preview/image_enum.go:121
Method
Value
Value implements the driver Valuer interface.
backend/preview/image_enum.go:203
Method
Value
Value implements the driver Valuer interface.
backend/preview/image_enum.go:281
Function
VerifyExternalJWT
VerifyExternalJWT verifies an external JWT token and extracts the username claim
backend/auth/jwt.go:47
Method
WebAuthnCredentials
WebAuthnCredentials returns the stored credentials converted to the library's type.
backend/database/users/webauthn.go:28
Method
WebAuthnDisplayName
WebAuthnDisplayName returns the display name for the user.
backend/database/users/webauthn.go:23
Method
WebAuthnID
WebAuthnID returns the user handle used by WebAuthn.
backend/database/users/webauthn.go:13
Method
WebAuthnName
WebAuthnName returns the human-readable name for the user.
backend/database/users/webauthn.go:18
Function
WriteDirectory
(opts utils.FileOptions)
backend/adapters/fs/files/files.go:846
Function
accessDeleteHandler
accessDeleteHandler deletes a single user or group from a rule. @Summary Delete access rule entry @Description Delete a user or group from an allow or
backend/http/access.go:151
Function
accessGetHandler
accessGetHandler lists all access rules or retrieves a specific rule. @Summary List access rules @Description Lists access rules. Can be filtered by s
backend/http/access.go:30
← previous
next →
1,301–1,400 of 1,657, ranked by callers