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
↓ 1 callers
Function
formatCredentialResponse
(cred)
frontend/src/api/auth.js:234
↓ 1 callers
Function
formatLine
formatLine applies padding to a single line so its comment starts at a target column.
backend/common/settings/generator.go:1238
↓ 1 callers
Function
fromNow
(date, locale)
frontend/src/utils/moment.js:3
↓ 1 callers
Function
generalUsage
()
backend/cmd/root.go:44
↓ 1 callers
Method
generateDocumentPreview
generateDocumentPreview generates preview for PDF and document files
backend/preview/preview.go:294
↓ 1 callers
Method
generateHEICPreview
generateHEICPreview generates preview for HEIC files using FFmpeg
backend/preview/preview.go:313
↓ 1 callers
Function
generateIconSizes
generateIconSizes generates all required icon sizes from source PNG data
backend/icons/generator.go:167
↓ 1 callers
Method
generateImagePreview
generateImagePreview generates preview for regular image files
backend/preview/preview.go:347
↓ 1 callers
Method
generateOfficeFilePreview
generateOfficeFilePreview generates preview for Office files via OnlyOffice
backend/preview/preview.go:304
↓ 1 callers
Function
generateOfficeId
(realPath string)
backend/adapters/fs/files/files.go:375
↓ 1 callers
Function
generatePWAManifest
generatePWAManifest creates the PWA manifest structure
backend/icons/manifest.go:31
↓ 1 callers
Function
generateRandomCode
(length)
frontend/src/utils/auth.js:53
↓ 1 callers
Method
generateRawPreview
generateRawPreview generates the initial preview image bytes based on file type
backend/preview/preview.go:260
↓ 1 callers
Function
generateSingleIcon
generateSingleIcon generates a single icon file at the specified size
backend/icons/generator.go:197
↓ 1 callers
Method
generateVideoPreviewBytes
generateVideoPreviewBytes generates preview frame from video file
backend/preview/preview.go:322
↓ 1 callers
Function
generateYaml
()
backend/cmd/cli.go:407
↓ 1 callers
Method
getActiveScannerPath
getActiveScannerPath returns the path of the currently active scanner, or empty string if none Assumes mutex is NOT held - will acquire its own lock
backend/indexing/indexingFiles.go:1506
↓ 1 callers
Method
getBasicDirInfo
getBasicDirInfo returns just directory metadata without children
backend/indexing/indexingFiles.go:583
↓ 1 callers
Function
getCookie
(name)
frontend/src/utils/cookie.js:5
↓ 1 callers
Function
getDefaultToastIcon
* Get default icon for toast type * @param {'success' | 'error' | 'info' | 'warning'} type * @returns {string}
frontend/src/notify/message.js:539
↓ 1 callers
Method
getDirInfoFromContext
getDirInfoFromContext gets full directory info using PathContext
backend/indexing/indexingFiles.go:562
↓ 1 callers
Function
getDirectoryPreview
getDirectoryPreview returns the previewable file at the given frame index (0–3) for motion preview. atPercentage maps to frame: 0→0, 1–25→1, 26–50→2,
backend/http/preview.go:119
↓ 1 callers
Function
getDiskUsage
getDiskUsage returns the actual disk space used by a file in bytes This is a simplified helper for shallow calculations and API calls For scanning wit
backend/indexing/indexingFiles.go:32
↓ 1 callers
Function
getEmbeddedThumbnail
(in io.Reader)
backend/preview/image.go:317
↓ 1 callers
Function
getFileDetails
(sys any, filePath string, useLogicalSize bool)
backend/indexing/unix.go:27
↓ 1 callers
Method
getFileInfoFromContext
getFileInfoFromContext returns info for a single file
backend/indexing/indexingFiles.go:542
↓ 1 callers
Function
getFileSizeByMode
getFileSizeByMode returns file size based on config mode Centralizes the logic for choosing between disk usage and logical size
backend/indexing/windows.go:39
↓ 1 callers
Function
getHumanReadableFilesize
(fileSizeBytes)
frontend/src/utils/filesizes.js:1
↓ 1 callers
Function
getIconSizesToGenerate
getIconSizesToGenerate returns all icon sizes that need to be generated
backend/icons/generator.go:153
↓ 1 callers
Function
getJwtUser
(w http.ResponseWriter, r *http.Request, data *requestContext, fn handleFunc, jwtToken string)
backend/http/middleware.go:438
↓ 1 callers
Function
getNestedProperty
(obj, outerKey, innerKey)
frontend/src/utils/object.js:44
↓ 1 callers
Function
getNonAdminEditableFieldNames
Helper function to get field names (copied from bolt/users.go for testing)
backend/database/users/nonadmin_test.go:65
↓ 1 callers
Function
getNonAdminEditableFieldNames
Helper to return list of field names from NonAdminEditable struct
backend/database/storage/bolt/users.go:240
↓ 1 callers
Function
getOrCreateLdapUser
getOrCreateLdapUser returns the filebrowser user for an LDAP-authenticated username, creating one if configured.
backend/http/ldap.go:187
↓ 1 callers
Function
getParentDir
(path)
frontend/src/utils/url.js:35
↓ 1 callers
Method
getRuleAtExactPath
getRuleAtExactPath is a helper to get a rule without the recursive logic.
backend/database/access/access.go:396
↓ 1 callers
Function
getSharePasswordHash
(body share.CreateBody)
backend/http/share.go:665
↓ 1 callers
Function
getSidebarMode
()
frontend/src/store/state.js:212
↓ 1 callers
Function
getSidebarWidth
* Load sidebar width from localStorage or use default size * @returns {number}
frontend/src/store/state.js:207
↓ 1 callers
Function
getStringStyle
getStringStyle determines whether a string should be quoted in YAML
backend/common/settings/generator.go:31
↓ 1 callers
Function
getTools
()
frontend/src/utils/constants.js:44
↓ 1 callers
Function
getYamlFieldName
getYamlFieldName determines the YAML field name from struct tags
backend/common/settings/generator.go:319
↓ 1 callers
Function
groupFilesByChecksum
groupFilesByChecksum groups files by partial checksum and returns groups with their checksums
backend/http/duplicates.go:602
↓ 1 callers
Function
groupFilesByFilename
groupFilesByFilename groups files by fuzzy filename matching Works with iteminfo.FileInfo from the main IndexDB Normalizes filenames on-the-fly for co
backend/http/duplicates.go:780
↓ 1 callers
Function
groupFilesByType
groupFilesByType groups files by MIME type Assumes files are already sorted by type (from SQL ORDER BY)
backend/http/duplicates.go:936
↓ 1 callers
Function
handleRasterFavicon
handleRasterFavicon processes a raster favicon (PNG, JPEG, GIF, WebP, etc.)
backend/icons/generator.go:143
↓ 1 callers
Function
handleSVGFavicon
handleSVGFavicon processes an SVG favicon by finding its raster companion
backend/icons/generator.go:127
↓ 1 callers
Function
handleSourceUpdates
()
backend/events/eventRouter.go:135
↓ 1 callers
Function
handleUserEvents
()
backend/events/eventRouter.go:40
↓ 1 callers
Function
handleWithStaticData
(w http.ResponseWriter, r *http.Request, d *requestContext, file, contentType string)
backend/http/static.go:53
↓ 1 callers
Function
hasAlbumArtFLACOptimized
hasAlbumArtFLACOptimized checks for PICTURE metadata block (type 6) in FLAC files
backend/indexing/iteminfo/mediaMeta.go:175
↓ 1 callers
Function
hasAlbumArtLowLevel
hasAlbumArtLowLevel efficiently checks for album art in audio files. It handles ID3v2 tags (MP3) and Vorbis comments (FLAC, OGG) with low-level parsin
backend/indexing/iteminfo/mediaMeta.go:20
↓ 1 callers
Function
hasAlbumArtM4A
hasAlbumArtM4A checks for embedded artwork in M4A/MP4 files
backend/indexing/iteminfo/mediaMeta.go:267
↓ 1 callers
Function
hasAlbumArtMP3Optimized
hasAlbumArtMP3Optimized checks for APIC/PIC frames with minimal I/O Takes the 10-byte header already read and reads only the necessary tag data
backend/indexing/iteminfo/mediaMeta.go:85
↓ 1 callers
Function
hasAlbumArtOGGOptimized
hasAlbumArtOGGOptimized checks for METADATA_BLOCK_PICTURE in OGG Vorbis comments
backend/indexing/iteminfo/mediaMeta.go:218
↓ 1 callers
Function
hasBundleExtension
hasBundleExtension checks if a file has a known bundle-style extension.
backend/indexing/iteminfo/conditions.go:477
↓ 1 callers
Function
hasEmbeddedPreview
hasEmbeddedPreview reports whether we should try exiftool for an embedded preview. Only true for types that often have one and lack a cheap native dec
backend/preview/exiftool.go:16
↓ 1 callers
Function
identifyDeprecatedFieldsByReflection
identifyDeprecatedFieldsByReflection identifies deprecated fields by known field names
backend/common/settings/generator.go:1044
↓ 1 callers
Method
incrementScannerDirsUnlocked
incrementScannerDirsUnlocked increments the directory counter for the active scanner
backend/indexing/indexingSchedule.go:162
↓ 1 callers
Function
isAuthLockout
(ip, username string)
backend/http/auth_ratelimit.go:178
↓ 1 callers
Method
isDirectoryOnFilesystem
isDirectoryOnFilesystem checks if the path exists and is a directory on the filesystem
backend/database/share/extended.go:51
↓ 1 callers
Method
isFileOnFilesystem
isFileOnFilesystem checks if the path exists and is a file on the filesystem
backend/database/share/extended.go:33
↓ 1 callers
Function
isOnlyOfficeCompatibleFile
isOnlyOfficeCompatibleFile checks if a file extension is supported by OnlyOffice
backend/http/download.go:301
↓ 1 callers
Function
isSameRoute
(to: RouteLocation, from: RouteLocation)
frontend/src/router/index.ts:161
↓ 1 callers
Function
joinPath
(basePath, ...segments)
frontend/src/utils/url.js:165
↓ 1 callers
Function
jwtVerificationKey
(secret string, method jwt.SigningMethod, algorithm string)
backend/auth/jwt.go:106
↓ 1 callers
Function
levenshteinDistance
levenshteinDistance calculates the edit distance between two strings
backend/http/duplicates.go:871
↓ 1 callers
Function
loadCustomFavicon
()
backend/common/settings/config.go:1137
↓ 1 callers
Function
loadFaviconSource
loadFaviconSource loads and prepares the favicon source data as PNG Returns PNG data ready for resizing into icon sizes
backend/icons/generator.go:105
↓ 1 callers
Function
loadLoginIcon
()
backend/common/settings/config.go:1188
↓ 1 callers
Function
loadNotificationHistory
* Load notification history from sessionStorage * @returns {Array}
frontend/src/store/state.js:193
↓ 1 callers
Function
loginHelper
(fn handleFunc)
backend/http/middleware.go:630
↓ 1 callers
Function
loginWithOidcUser
loginWithOidcUser extracts the username from the user claims (userInfo) based on the configured UserIdentifier and logs the user into the application.
backend/http/oidc.go:324
↓ 1 callers
Function
manifestHandler
manifestHandler serves the cached PWA manifest
backend/http/static.go:271
↓ 1 callers
Method
markFilesChanged
markFilesChanged marks that files have changed in the currently active scanner
backend/indexing/indexingSchedule.go:128
↓ 1 callers
Function
max
max returns the maximum of two integers
backend/http/duplicates.go:927
↓ 1 callers
Function
measureAuthTime
measureAuthTime measures the time taken to authenticate with given credentials
backend/auth/json_timing_test.go:170
↓ 1 callers
Function
mergeConfig
mergeConfig merges the provided config with defaults, returning a new config. If provided config is nil or empty, returns default config.
backend/database/sql/sqlite.go:122
↓ 1 callers
Function
mergeGroupsByChecksum
mergeGroupsByChecksum merges groups that share any checksum values This catches cases where files have identical content but were grouped separately
backend/http/duplicates.go:466
↓ 1 callers
Function
migrateAccessRule
migrateAccessRule creates a new access rule with the new path format
backend/cmd/access.go:71
↓ 1 callers
Function
migrateOldCacheStructure
migrateOldCacheStructure moves cache files from old structure (dir/a/...) to new structure (dir/diskcache/a/...)
backend/adapters/fs/diskcache/file_cache.go:51
↓ 1 callers
Function
min
min returns the minimum of three integers
backend/http/duplicates.go:913
↓ 1 callers
Function
mockCheckPermissions
mockCheckPermissions mocks the CheckPermissions function to bypass index lookups
backend/http/webdav_test.go:137
↓ 1 callers
Function
mockFileInfoFaster
(t *testing.T)
backend/http/middleware_test.go:49
↓ 1 callers
Function
mockWebDAVIndexing
mockWebDAVIndexing mocks the indexing system for WebDAV tests
backend/http/webdav_test.go:191
↓ 1 callers
Method
mode
()
backend/http/webdav.go:36
↓ 1 callers
Function
modifyExcludeInclude
(config *Source)
backend/common/settings/config.go:1305
↓ 1 callers
Function
muxWithMiddleware
(mux *http.ServeMux)
backend/http/middleware.go:678
↓ 1 callers
Method
needsAdaptiveBootstrap
()
backend/indexing/indexingSchedulerLoop.go:197
↓ 1 callers
Function
newGrayBmp
(t *testing.T, width, height int)
backend/preview/image_test.go:342
↓ 1 callers
Function
newGrayGif
(t *testing.T, width, height int)
backend/preview/image_test.go:312
↓ 1 callers
Function
newGrayTiff
(t *testing.T, width, height int)
backend/preview/image_test.go:327
↓ 1 callers
Function
newHTTPRequest
Modify newHTTPRequest to accept the hash and use it in the URL path.
backend/http/middleware_test.go:301
↓ 1 callers
Function
newMockUserBackend
()
backend/auth/json_timing_test.go:43
↓ 1 callers
Function
newTestRequest
Helper function to create a new HTTP request with optional parameters
backend/http/middleware_test.go:274
↓ 1 callers
Function
newThrottledWriter
(w io.Writer, limit rate.Limit, burst int, ctx context.Context)
backend/http/download.go:63
↓ 1 callers
Function
nonAdminEditableFieldNameSet
nonAdminEditableFieldNameSet returns User.NonAdminEditable struct field names (e.g. "Locale", "Preview").
backend/http/users.go:328
↓ 1 callers
Function
normalizeLocale
normalizeLocale converts various locale formats (xx_xx, xx-xx, xxxx) to camelCase format (xxXX) Frontend expects camelCase for compound locales (zhCN,
backend/http/users.go:159
↓ 1 callers
Function
normalizeScope
normalizeScope ensures scope starts with / and doesn't end with / (except for root)
backend/database/users/conversions.go:123
↓ 1 callers
Function
parseDirGoFiles
parseDirGoFiles parses all .go files in dir and returns their ASTs. Used when the directory is not inside a Go module (e.g. test temp dirs) so package
backend/common/settings/generator.go:212
← previous
next →
701–800 of 1,657, ranked by callers