MCPcopy Create free account

hub / github.com/gtsteffaniak/filebrowser / functions

Functions1,657 in github.com/gtsteffaniak/filebrowser

MethodGet
()
backend/database/storage/bolt/config.go:12
MethodGet
(id any)
backend/database/crud/crud.go:20
MethodGet
(string)
backend/auth/storage.go:16
MethodGet
Get wraps a StorageBackend.Get.
backend/auth/storage.go:59
MethodGet
Get returns the settings for the current instance.
backend/common/settings/storage.go:26
FunctionGetAccessRules
(db *storm.DB, name string, to interface{})
backend/database/storage/bolt/utils.go:26
MethodGetAll
()
backend/database/users/storage.go:47
MethodGetAll
()
backend/database/dbindex/storage.go:32
MethodGetAll
()
backend/database/share/storage.go:41
MethodGetAll
()
backend/database/crud/crud.go:24
MethodGetAllDirectories
GetAllDirectories returns all directory paths for a source (used for size recalculation)
backend/database/sql/index.go:1001
MethodGetAllRulesByGroups
GetAllRulesByGroups returns a map of groupnames to their rules for a given sourcePath.
backend/database/access/access.go:1002
MethodGetAllRulesByUsers
GetAllRulesByUsers returns a map of usernames to their rules for a given sourcePath.
backend/database/access/access.go:946
FunctionGetAssetFS
GetAssetFS returns the initialized asset filesystem
backend/adapters/fs/fileutils/assets.go:34
MethodGetBy
(id interface{})
backend/auth/json_timing_test.go:50
MethodGetByHash
(hash string)
backend/database/storage/bolt/share.go:38
MethodGetByID
(id any)
backend/database/users/storage.go:38
MethodGetByID
(id any)
backend/database/dbindex/storage.go:24
MethodGetByID
(id any)
backend/database/share/storage.go:33
MethodGetByPath
(path string)
backend/database/storage/bolt/indexing.go:25
MethodGetByPath
GetByPath wraps StorageBackend.GetByPath
backend/database/dbindex/storage.go:88
MethodGetBySource
(source string)
backend/database/storage/bolt/indexing.go:35
MethodGetBySource
GetBySource wraps StorageBackend.GetBySource
backend/database/dbindex/storage.go:109
MethodGetBySourcePath
GetBySourcePath returns all shares that exactly match Path and Source across users.
backend/database/storage/bolt/share.go:73
MethodGetBySourcePath
(path, source string)
backend/database/share/storage.go:22
FunctionGetChecksum
GetChecksum calculates the checksum of a file using the specified algorithm. Returns the checksum as a hex-encoded string.
backend/common/utils/file.go:21
MethodGetCommonShareByHash
(hash string)
backend/database/storage/bolt/share.go:48
MethodGetCommonShareByHash
GetCommonShareByHash retrieves only the CommonShare attributes for a given hash
backend/database/share/storage.go:407
MethodGetComplexity
GetComplexity calculates the complexity based on full scan time and number of directories
backend/indexing/indexingFiles.go:234
FunctionGetDirItems
(opts utils.FileOptions, access *access.Storage, user *users.User)
backend/adapters/fs/files/files.go:174
FunctionGetEmbeddedAssets
GetEmbeddedAssets returns the embedded assets filesystem
backend/http/httpRouter.go:33
MethodGetFileExtension
GetFileExtension returns the file extension of the shared file
backend/database/share/extended.go:89
MethodGetFileName
GetFileName returns just the filename (without path) of the shared item
backend/database/share/extended.go:97
MethodGetFilesBySize
GetFilesBySize retrieves all files with a specific size for a source, optionally filtered by path prefix.
backend/database/sql/index.go:1172
MethodGetFilesBySizeAndType
GetFilesBySizeAndType retrieves files matching both size and type.
backend/database/sql/index.go:1126
MethodGetFilesBySizeForDuplicates
GetFilesBySizeForDuplicates queries for all files with a specific size. Used for processing one size group at a time to minimize memory usage.
backend/database/sql/duplicates.go:88
FunctionGetFreeSpace
GetFreeSpace returns the available free space for Unix systems
backend/adapters/fs/fileutils/partition_unix.go:22
FunctionGetFreeSpace
GetFreeSpace returns the available free space for Windows systems
backend/adapters/fs/fileutils/partition_windows.go:24
MethodGetFsInfoViewableOnly
GetFsInfoViewableOnly returns filesystem information for viewable-only paths (not indexed)
backend/indexing/indexingFiles.go:732
MethodGetFullScanTime
GetFullScanTime calculates the total full scan time by summing all scanner values
backend/indexing/indexingFiles.go:218
MethodGetImageDimensions
GetImageDimensions extracts the dimensions of an image file using ffprobe
backend/ffmpeg/image.go:85
MethodGetItemsByPaths
GetItemsByPaths retrieves multiple items by their paths in a single query for a specific source. This is more efficient than calling GetItem multiple
backend/database/sql/index.go:470
FunctionGetLastComponent
(path string)
backend/common/utils/main.go:83
MethodGetMemoryUsageMB
GetMemoryUsageMB returns current memory usage in MB
backend/preview/memory_tracker.go:70
MethodGetNumDirs
GetNumDirs calculates the total number of directories by summing all scanner values
backend/indexing/indexingFiles.go:161
MethodGetNumFiles
GetNumFiles calculates the total number of files by summing all scanner values.
backend/indexing/indexingFiles.go:181
FunctionGetPartitionSize
GetPartitionSize returns the filesystem size for Unix systems
backend/adapters/fs/fileutils/partition_unix.go:10
FunctionGetPartitionSize
GetPartitionSize returns the filesystem size for Windows systems
backend/adapters/fs/fileutils/partition_windows.go:10
FunctionGetPartitionUsed
GetPartitionUsed returns the used space for Unix systems (total - free)
backend/adapters/fs/fileutils/partition_unix.go:34
FunctionGetPartitionUsed
GetPartitionUsed returns the used space for Windows systems (total - free)
backend/adapters/fs/fileutils/partition_windows.go:38
MethodGetPermanent
(path, source string, id uint)
backend/database/storage/bolt/share.go:65
MethodGetPermanent
GetPermanent wraps StorageBackend.GetPermanent
backend/database/share/storage.go:255
FunctionGetPreviewForFile
(ctx context.Context, file iteminfo.ExtendedFileInfo, previewSize, url string, seekPercentage int)
backend/preview/preview.go:178
MethodGetQuickScanTime
GetQuickScanTime calculates the total quick scan time by summing all scanner values
backend/indexing/indexingFiles.go:202
FunctionGetRandomExtension
()
backend/common/utils/mocks.go:29
MethodGetRevokedTokens
GetRevokedTokens returns a copy of all revoked token hashes.
backend/database/access/access.go:1303
MethodGetServer
()
backend/database/storage/bolt/config.go:21
MethodGetServer
GetServer wraps StorageBackend.GetServer.
backend/common/settings/storage.go:57
FunctionGetService
GetService returns the preview service instance (can be nil if not started)
backend/preview/preview.go:174
FunctionGetSettingsConfig
(nameType string, Value string)
backend/common/settings/settings.go:54
MethodGetSizeGroupsForDuplicates
GetSizeGroupsForDuplicates queries for all size groups that have 2+ files. Returns sizes in descending order (largest first) as a slice, and a map of
backend/database/sql/duplicates.go:56
MethodGetSourcePaths
GetSourcePaths returns all source paths the user has access to
backend/database/users/users.go:273
MethodGetStatus
GetStatus returns the computed status based on scanner state, or UNAVAILABLE if explicitly set
backend/indexing/indexingFiles.go:302
FunctionGetSubtitleSidecarContent
(subtitlePath string)
backend/common/utils/media.go:17
MethodGetTypeGroupsForSize
GetTypeGroupsForSize queries for file types that have 2+ files with the same size.
backend/database/sql/index.go:896
FunctionGetUpdateAvailableUrl
()
backend/common/utils/checkForUpdates.go:87
FunctionGetWebAuthn
()
backend/auth/webauthn.go:60
MethodGets
()
backend/database/users/storage.go:14
MethodGets
Gets gets a list of all users.
backend/database/users/storage.go:96
MethodGets
(path, sourcePath string, id uint)
backend/database/storage/bolt/share.go:82
MethodGets
()
backend/database/storage/bolt/users.go:59
MethodGets
(path, source string, id uint)
backend/database/share/storage.go:23
MethodGets
Gets returns shares for the given path, source, and user from the cache.
backend/database/share/storage.go:264
MethodGets
()
backend/auth/json_timing_test.go:67
FunctionHasAlbumArt
(filePath string, extension string)
backend/indexing/iteminfo/mediaMeta.go:284
FunctionHasDocConvertableExtension
(name, mimetype string)
backend/indexing/iteminfo/conditions.go:482
FunctionHashSHA256
(data string)
backend/common/utils/crypto.go:52
FunctionHideFileByExt
HideFileByExt will check if a filename matches any of the hidden extensions
backend/common/utils/file.go:93
FunctionInitAssetFS
InitAssetFS initializes the asset filesystem for the application This should be called once during startup before http or preview services start
backend/adapters/fs/fileutils/assets.go:24
FunctionInitWebAuthn
()
backend/auth/webauthn.go:35
FunctionInitializeDb
(path string)
backend/database/storage/storage.go:20
FunctionInitializeIndexDB
InitializeIndexDB creates the shared index database for all sources. Returns true if the database was recreated (either fresh or after corruption).
backend/indexing/indexingFiles.go:337
FunctionInitializePWAManifest
InitializePWAManifest caches the PWA manifest at startup. Icon URLs always point at PNGs under public/static/icons/, which GeneratePWAIcons produces f
backend/icons/manifest.go:74
MethodInsertFileForDuplicates
InsertFileForDuplicates inserts a file entry into the duplicates table. This is called during the first pass through the index to stream files into th
backend/database/sql/duplicates.go:44
FunctionIs3DModel
Is3DModel reports whether the extension is a known 3D model format.
backend/indexing/iteminfo/conditions.go:368
MethodIsExpired
IsExpired checks if the share has expired based on the Expire timestamp
backend/database/share/extended.go:69
FunctionIsNamedPipe
(mode os.FileMode)
backend/adapters/fs/files/files.go:987
FunctionIsOnlyOffice
(name string)
backend/indexing/iteminfo/conditions.go:378
MethodIsPermanent
IsPermanent checks if the share is permanent (no expiration)
backend/database/share/extended.go:84
FunctionIsRawImage
IsRawImage reports whether the extension is a known raw camera image format.
backend/indexing/iteminfo/conditions.go:357
FunctionIsRevokedApiToken
don't change IsRevokedApiToken checks if a token is in the revoked list.
backend/auth/auth.go:23
MethodIsSingleFileShare
IsSingleFileShare determines if this share is for a single file (not a directory). It checks both the file extension and filesystem to determine if th
backend/database/share/extended.go:16
FunctionIsSymlink
(mode os.FileMode)
backend/adapters/fs/files/files.go:991
FunctionIsWebAuthnEnabled
()
backend/auth/webauthn.go:64
MethodIterateFiles
IterateFiles iterates over all files in the index and calls the callback function
backend/indexing/mutate.go:255
FunctionJSONBytesEqual
JSONBytesEqual compares the JSON in two byte slices.
backend/indexing/indexing_test.go:29
FunctionJoinPathAsUnix
(parts ...string)
backend/common/utils/main.go:95
MethodLastUpdate
(id uint)
backend/database/users/storage.go:28
MethodLastUpdate
LastUpdate gets the timestamp for the last update of an user.
backend/database/users/storage.go:174
MethodLoad
(ctx context.Context, key string)
backend/adapters/fs/diskcache/noop_cache.go:18
← previousnext →1,001–1,100 of 1,657, ranked by callers