MCPcopy Create free account

hub / github.com/gtsteffaniak/filebrowser / functions

Functions1,657 in github.com/gtsteffaniak/filebrowser

↓ 2 callersMethodDeleteByID
(uint)
backend/database/users/storage.go:17
↓ 2 callersMethodDeleteByUsername
(string)
backend/database/users/storage.go:18
↓ 2 callersFunctionDetectTypeByHeader
DetectTypeByHeader detects the MIME type of a file based on its header.
backend/indexing/iteminfo/mediaMeta.go:301
↓ 2 callersFunctionDownloadCacheDir
Where transient archives for multi-request (Range) downloads are stored to support chunked downloads.
backend/common/settings/config.go:1176
↓ 2 callersFunctionFallbackColor
(val, defaultColor string)
backend/common/settings/styling.go:51
↓ 2 callersMethodFaviconURL
()
backend/database/share/extended.go:184
↓ 2 callersFunctionGeneratePreviewWithMD5
(ctx context.Context, file iteminfo.ExtendedFileInfo, previewSize, officeUrl string, seekPercentage int, fileM
backend/preview/preview.go:405
↓ 2 callersMethodGet
Get allows you to get a user by its name or username. The provided id must be a string for username lookup or a uint for id lookup. If id is neither,
backend/database/users/storage.go:87
↓ 2 callersMethodGetBackendScopes
GetBackendScopes normalizes scopes for Bolt: SourceScope.Name is always the source filesystem path. Incoming rows (API) may use display name or path;
backend/database/users/conversions.go:46
↓ 2 callersMethodGetBy
(i interface{})
backend/database/storage/bolt/users.go:28
↓ 2 callersMethodGetDirInfo
GetDirInfo returns directory information with index checks and extended attributes
backend/indexing/indexingFiles.go:991
↓ 2 callersMethodGetDirectoryChildren
GetDirectoryChildren retrieves all children of a directory for a specific source.
backend/database/sql/index.go:513
↓ 2 callersMethodGetFsInfoCore
GetFsInfoCore is the consolidated implementation for both GetFsInfo and GetFsInfoViewableOnly
backend/indexing/indexingFiles.go:637
↓ 2 callersMethodGetMediaDuration
GetMediaDuration extracts the duration of a media file (audio or video) using ffprobe This method respects the concurrency limits, uses caching, and g
backend/ffmpeg/metadata.go:15
↓ 2 callersFunctionGetRandomTerm
()
backend/common/utils/mocks.go:18
↓ 2 callersMethodGetSourceNames
GetSourceNames returns all source names the user has access to (assumes backend-style scopes)
backend/database/users/conversions.go:26
↓ 2 callersMethodHasPasskeyMFA
HasPasskeyMFA returns true if the user has at least one passkey credential configured.
backend/database/users/webauthn.go:37
↓ 2 callersMethodHasPassword
HasPassword checks if the share is password protected
backend/database/share/extended.go:79
↓ 2 callersMethodHasReachedUserLimit
HasReachedUserLimit checks if a user has reached their download limit
backend/database/share/extended.go:142
↓ 2 callersMethodIncrementUserDownload
IncrementUserDownload increments the download count for a specific user
backend/database/share/extended.go:114
↓ 2 callersMethodInitUserDownloads
InitUserDownloads initializes the user downloads map if needed
backend/database/share/extended.go:105
↓ 2 callersFunctionIsArchive
(extension string)
backend/indexing/iteminfo/conditions.go:352
↓ 2 callersMethodIsNeverWatchPath
IsNeverWatchPath checks if a directory should not be re-indexed after the initial scan This is specifically for NeverWatchPaths - paths that are index
backend/indexing/indexingFiles.go:1470
↓ 2 callersFunctionIsText
(extension string)
backend/indexing/iteminfo/conditions.go:344
↓ 2 callersFunctionMakeUserDir
MakeUserDir makes the user directory according to settings.
backend/adapters/fs/files/user.go:15
↓ 2 callersMethodMatchesSearchAuxiliaryFilters
MatchesSearchAuxiliaryFilters applies type/size/date constraints from SearchOptions without checking the file name. Used when SQLite has already filte
backend/indexing/iteminfo/mediaMeta.go:337
↓ 2 callersFunctionMediaEnabled
()
backend/ffmpeg/conditions.go:27
↓ 2 callersFunctionMediaEnabled
()
backend/common/settings/configFunctions.go:25
↓ 2 callersFunctionParseFormat
ParseFormat attempts to convert a string to a Format
backend/preview/image_enum.go:75
↓ 2 callersFunctionParseQuality
ParseQuality attempts to convert a string to a Quality
backend/preview/image_enum.go:157
↓ 2 callersFunctionParseResizeMode
ParseResizeMode attempts to convert a string to a ResizeMode
backend/preview/image_enum.go:235
↓ 2 callersFunctionParseSearch
(value string)
backend/indexing/iteminfo/searchQuery.go:45
↓ 2 callersMethodPostScan
()
backend/indexing/indexingSchedule.go:194
↓ 2 callersFunctionReadImageFileDimensions
ReadImageFileDimensions reads image width and height without decoding the full image.
backend/preview/preview.go:572
↓ 2 callersMethodRefreshFileInfo
(opts utils.FileOptions)
backend/indexing/indexingFiles.go:1017
↓ 2 callersMethodRelease
()
backend/ffmpeg/service.go:47
↓ 2 callersMethodRelease
Release frees up resources
backend/preview/memory_tracker.go:64
↓ 2 callersMethodRemoveAllowUser
RemoveAllowUser removes a user from the allow list for a given source and index path.
backend/database/access/access.go:650
↓ 2 callersMethodRemoveApiToken
RemoveApiToken removes a token hash mapping (used when deleting API keys).
backend/database/access/access.go:1315
↓ 2 callersMethodRemoveDenyUser
RemoveDenyUser removes a user from the deny list for a given source and index path.
backend/database/access/access.go:706
↓ 2 callersMethodResizeWithSize
ResizeWithSize resizes an image with file size information for appropriate semaphore selection. Resize runs synchronously so the image semaphore accur
backend/preview/image.go:178
↓ 2 callersFunctionResolveSourceKey
ResolveSourceKey maps a string that is either: - the configured source filesystem path (canonical Bolt / in-memory form for SourceScope.Name and sourc
backend/database/users/conversions.go:15
↓ 2 callersMethodSave
Save persists the index and scanner information to the database and notifies clients via SSE.
backend/indexing/indexingFiles.go:1560
↓ 2 callersMethodSaveServer
(*Server)
backend/common/settings/storage.go:12
↓ 2 callersMethodSearchParsed
SearchParsed runs indexing search using pre-built options (e.g. repeated HTTP term parameters plus filter prefix).
backend/indexing/search.go:37
↓ 2 callersMethodSendSourceUpdateEvent
()
backend/indexing/indexingSchedule.go:221
↓ 2 callersMethodShrinkMemory
helps prevent SQLite page cache memory leaks by shrinking memory
backend/database/sql/index.go:570
↓ 2 callersMethodSortItems
()
backend/indexing/iteminfo/utils.go:81
↓ 2 callersMethodSourceURL
(user *users.User)
backend/database/share/extended.go:162
↓ 2 callersMethodStore
(ctx context.Context, key string, value []byte)
backend/adapters/fs/diskcache/cache.go:8
↓ 2 callersMethodStore
(ctx context.Context, key string, value []byte)
backend/adapters/fs/diskcache/file_cache.go:92
↓ 2 callersMethodString
String implements the Stringer interface.
backend/preview/image_enum.go:143
↓ 2 callersMethodString
String implements the Stringer interface.
backend/preview/image_enum.go:222
↓ 2 callersMethodSyncUserGroups
SyncUserGroups updates a user's group memberships. It removes the user from groups not in the new list and adds them to new ones.
backend/database/access/access.go:592
↓ 2 callersMethodUpdate
Update updates a user in the database.
backend/database/users/storage.go:105
↓ 2 callersMethodUserCanEdit
(user *users.User)
backend/database/share/extended.go:158
↓ 2 callersFunctionValidateConfig
(config Settings)
backend/common/settings/config.go:886
↓ 2 callersFunctionWriteFile
(source, path string, in io.Reader)
backend/adapters/fs/files/files.go:895
↓ 2 callersMethodacquireImageSem
Global image processor semaphore methods These are used to ensure FFmpeg and document operations also respect the global image processor limit
backend/preview/preview.go:130
↓ 2 callersFunctionaddSingleFile
addSingleFile writes one file into the given zip or tar writer.
backend/http/archive.go:589
↓ 2 callersFunctionappendNameGlobSQL
appendNameGlobSQL adds AND (name GLOB ? OR ...) or AND (name GLOB ? AND ...) when joinAnd is true.
backend/database/sql/search.go:22
↓ 2 callersFunctionauthFailKey
(ip, username string)
backend/http/auth_ratelimit.go:166
↓ 2 callersFunctionauthRateLimitActive
()
backend/http/auth_ratelimit.go:88
↓ 2 callersFunctionauthTokenExpiresUnix
authTokenExpiresUnix returns exp from JWT claims when set, otherwise the persisted int64.
backend/http/api.go:159
↓ 2 callersFunctionauthTokenIssuedUnix
authTokenIssuedUnix returns iat from JWT claims when set, otherwise the persisted int64 (e.g. loaded from DB).
backend/http/api.go:151
↓ 2 callersFunctionbuildItemUrl
(source, path, includeBaseURL = false)
frontend/src/utils/url.js:233
↓ 2 callersFunctioncalculateComplexity
(scanTime int, numDirs uint64)
backend/indexing/indexingSchedule.go:117
↓ 2 callersMethodcancel
(id)
frontend/src/utils/upload.js:553
↓ 2 callersFunctioncheckExecutable
checkExecutable is an internal helper function to find and validate an executable. It checks a specific path if provided, otherwise falls back to sear
backend/ffmpeg/service.go:65
↓ 2 callersFunctioncheckPassword
(r *http.Request, d *requestContext)
backend/http/totp.go:82
↓ 2 callersFunctioncheckPassword
(password string)
backend/database/storage/bolt/users.go:322
↓ 2 callersFunctioncheckValue
(t *testing.T, ctx context.Context, cache *FileCache, fileFullPath string, key, wantValue string)
backend/adapters/fs/diskcache/file_cache_test.go:52
↓ 2 callersFunctionchunkedRangeDownloadToBlob
* Range-based fetch; updates downloadManager progress for downloadId. * @returns {Promise<Blob|null>}
frontend/src/api/resources.js:327
↓ 2 callersFunctioncomputeArchiveSize
computeArchiveSize returns the combined size of the given paths, respecting access rules. Paths denied by access are skipped (not counted).
backend/http/archive.go:1230
↓ 2 callersFunctionconvertRasterToPNG
convertRasterToPNG decodes any raster format and re-encodes as PNG
backend/icons/generator.go:88
↓ 2 callersFunctioncopySingleFile
copySingleFile handles copying a single file.
backend/adapters/fs/fileutils/file.go:100
↓ 2 callersFunctioncreateIndexDB
(name string, journalMode string, lockingMode string, batchSize int, cacheSizeMB int, disableReuse bool)
backend/database/sql/index.go:23
↓ 2 callersFunctioncreateTarGz
createTarGz writes a tar.gz archive into w containing the given paths; access rules apply.
backend/http/archive.go:657
↓ 2 callersMethoddeleteFromCache
deleteFromCache removes the link (by hash) from both caches. It acquires s.mu.
backend/database/share/storage.go:115
↓ 2 callersFunctionderiveRPID
(r *http.Request)
backend/http/webauthn.go:207
↓ 2 callersFunctiondetectEmbeddedSubtitles
detectEmbeddedSubtitles uses ffprobe to find embedded subtitle tracks Always runs ffprobe - results are cached for performance
backend/ffmpeg/subtitles.go:71
↓ 2 callersFunctiondetectLocale
()
frontend/src/i18n/index.ts:55
↓ 2 callersFunctiondeterminePreviewType
determinePreviewType determines what type of preview generation is needed
backend/preview/preview.go:229
↓ 2 callersMethodexecuteScan
executeScan runs one scan for this scanner (invoked only from the per-index scheduler).
backend/indexing/indexingScanner.go:59
↓ 2 callersFunctionextractArchivedDir
extractArchivedDir creates a directory from an archive entry and reapplies mode and mtime.
backend/http/archive.go:1029
↓ 2 callersFunctionextractArchivedRegularFile
extractArchivedRegularFile writes one regular file from src (closed by this function) and reapplies mode and mtime.
backend/http/archive.go:1041
↓ 2 callersFunctionextractArchivedSymlink
extractArchivedSymlink creates a symlink after validating the target stays under destRoot.
backend/http/archive.go:1067
↓ 2 callersFunctionextractAudioMetadata
extractAudioMetadata extracts metadata from an audio file using dhowden/tag and optionally extracts duration using the ffmpeg service with concurrency
backend/adapters/fs/files/files.go:436
↓ 2 callersFunctionextractToken
first checks for cookie then checks for header Authorization as Bearer token then checks for query parameter
backend/http/auth.go:30
↓ 2 callersFunctionextractVideoMetadata
extractVideoMetadata extracts duration from video files using ffprobe If ffmpegService is nil, a new service will be created (for backward compatibili
backend/adapters/fs/files/files.go:561
↓ 2 callersFunctionextractZip
(archivePath, destDir string)
backend/http/archive.go:1085
↓ 2 callersFunctionfilterFilesByExt
This removes files whose names match any extension in hideFileExt.
backend/adapters/fs/files/files.go:161
↓ 2 callersFunctionfilterRestrictedFields
Define a function to filter out restricted fields for non-admin users
backend/database/storage/bolt/users.go:225
↓ 2 callersFunctionformatAssTime
(time)
frontend/src/utils/subtitles.js:197
↓ 2 callersMethodformatErrorMessage
(err)
frontend/src/utils/upload.js:676
↓ 2 callersFunctionformatLrcTime
(time)
frontend/src/utils/subtitles.js:186
↓ 2 callersFunctionformatMillisecondsToVTT
(ms)
frontend/src/utils/subtitles.js:224
↓ 2 callersFunctionformatSubTime
(time)
frontend/src/utils/subtitles.js:209
↓ 2 callersFunctiongenerateId
* Generate a unique ID for a notification * @returns {string}
frontend/src/notify/message.js:70
↓ 2 callersFunctiongenerateSessionID
()
backend/auth/webauthn.go:79
← previousnext →301–400 of 1,657, ranked by callers