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
Method
Get
()
backend/database/storage/bolt/config.go:12
Method
Get
(id any)
backend/database/crud/crud.go:20
Method
Get
(string)
backend/auth/storage.go:16
Method
Get
Get wraps a StorageBackend.Get.
backend/auth/storage.go:59
Method
Get
Get returns the settings for the current instance.
backend/common/settings/storage.go:26
Function
GetAccessRules
(db *storm.DB, name string, to interface{})
backend/database/storage/bolt/utils.go:26
Method
GetAll
()
backend/database/users/storage.go:47
Method
GetAll
()
backend/database/dbindex/storage.go:32
Method
GetAll
()
backend/database/share/storage.go:41
Method
GetAll
()
backend/database/crud/crud.go:24
Method
GetAllDirectories
GetAllDirectories returns all directory paths for a source (used for size recalculation)
backend/database/sql/index.go:1001
Method
GetAllRulesByGroups
GetAllRulesByGroups returns a map of groupnames to their rules for a given sourcePath.
backend/database/access/access.go:1002
Method
GetAllRulesByUsers
GetAllRulesByUsers returns a map of usernames to their rules for a given sourcePath.
backend/database/access/access.go:946
Function
GetAssetFS
GetAssetFS returns the initialized asset filesystem
backend/adapters/fs/fileutils/assets.go:34
Method
GetBy
(id interface{})
backend/auth/json_timing_test.go:50
Method
GetByHash
(hash string)
backend/database/storage/bolt/share.go:38
Method
GetByID
(id any)
backend/database/users/storage.go:38
Method
GetByID
(id any)
backend/database/dbindex/storage.go:24
Method
GetByID
(id any)
backend/database/share/storage.go:33
Method
GetByPath
(path string)
backend/database/storage/bolt/indexing.go:25
Method
GetByPath
GetByPath wraps StorageBackend.GetByPath
backend/database/dbindex/storage.go:88
Method
GetBySource
(source string)
backend/database/storage/bolt/indexing.go:35
Method
GetBySource
GetBySource wraps StorageBackend.GetBySource
backend/database/dbindex/storage.go:109
Method
GetBySourcePath
GetBySourcePath returns all shares that exactly match Path and Source across users.
backend/database/storage/bolt/share.go:73
Method
GetBySourcePath
(path, source string)
backend/database/share/storage.go:22
Function
GetChecksum
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
Method
GetCommonShareByHash
(hash string)
backend/database/storage/bolt/share.go:48
Method
GetCommonShareByHash
GetCommonShareByHash retrieves only the CommonShare attributes for a given hash
backend/database/share/storage.go:407
Method
GetComplexity
GetComplexity calculates the complexity based on full scan time and number of directories
backend/indexing/indexingFiles.go:234
Function
GetDirItems
(opts utils.FileOptions, access *access.Storage, user *users.User)
backend/adapters/fs/files/files.go:174
Function
GetEmbeddedAssets
GetEmbeddedAssets returns the embedded assets filesystem
backend/http/httpRouter.go:33
Method
GetFileExtension
GetFileExtension returns the file extension of the shared file
backend/database/share/extended.go:89
Method
GetFileName
GetFileName returns just the filename (without path) of the shared item
backend/database/share/extended.go:97
Method
GetFilesBySize
GetFilesBySize retrieves all files with a specific size for a source, optionally filtered by path prefix.
backend/database/sql/index.go:1172
Method
GetFilesBySizeAndType
GetFilesBySizeAndType retrieves files matching both size and type.
backend/database/sql/index.go:1126
Method
GetFilesBySizeForDuplicates
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
Function
GetFreeSpace
GetFreeSpace returns the available free space for Unix systems
backend/adapters/fs/fileutils/partition_unix.go:22
Function
GetFreeSpace
GetFreeSpace returns the available free space for Windows systems
backend/adapters/fs/fileutils/partition_windows.go:24
Method
GetFsInfoViewableOnly
GetFsInfoViewableOnly returns filesystem information for viewable-only paths (not indexed)
backend/indexing/indexingFiles.go:732
Method
GetFullScanTime
GetFullScanTime calculates the total full scan time by summing all scanner values
backend/indexing/indexingFiles.go:218
Method
GetImageDimensions
GetImageDimensions extracts the dimensions of an image file using ffprobe
backend/ffmpeg/image.go:85
Method
GetItemsByPaths
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
Function
GetLastComponent
(path string)
backend/common/utils/main.go:83
Method
GetMemoryUsageMB
GetMemoryUsageMB returns current memory usage in MB
backend/preview/memory_tracker.go:70
Method
GetNumDirs
GetNumDirs calculates the total number of directories by summing all scanner values
backend/indexing/indexingFiles.go:161
Method
GetNumFiles
GetNumFiles calculates the total number of files by summing all scanner values.
backend/indexing/indexingFiles.go:181
Function
GetPartitionSize
GetPartitionSize returns the filesystem size for Unix systems
backend/adapters/fs/fileutils/partition_unix.go:10
Function
GetPartitionSize
GetPartitionSize returns the filesystem size for Windows systems
backend/adapters/fs/fileutils/partition_windows.go:10
Function
GetPartitionUsed
GetPartitionUsed returns the used space for Unix systems (total - free)
backend/adapters/fs/fileutils/partition_unix.go:34
Function
GetPartitionUsed
GetPartitionUsed returns the used space for Windows systems (total - free)
backend/adapters/fs/fileutils/partition_windows.go:38
Method
GetPermanent
(path, source string, id uint)
backend/database/storage/bolt/share.go:65
Method
GetPermanent
GetPermanent wraps StorageBackend.GetPermanent
backend/database/share/storage.go:255
Function
GetPreviewForFile
(ctx context.Context, file iteminfo.ExtendedFileInfo, previewSize, url string, seekPercentage int)
backend/preview/preview.go:178
Method
GetQuickScanTime
GetQuickScanTime calculates the total quick scan time by summing all scanner values
backend/indexing/indexingFiles.go:202
Function
GetRandomExtension
()
backend/common/utils/mocks.go:29
Method
GetRevokedTokens
GetRevokedTokens returns a copy of all revoked token hashes.
backend/database/access/access.go:1303
Method
GetServer
()
backend/database/storage/bolt/config.go:21
Method
GetServer
GetServer wraps StorageBackend.GetServer.
backend/common/settings/storage.go:57
Function
GetService
GetService returns the preview service instance (can be nil if not started)
backend/preview/preview.go:174
Function
GetSettingsConfig
(nameType string, Value string)
backend/common/settings/settings.go:54
Method
GetSizeGroupsForDuplicates
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
Method
GetSourcePaths
GetSourcePaths returns all source paths the user has access to
backend/database/users/users.go:273
Method
GetStatus
GetStatus returns the computed status based on scanner state, or UNAVAILABLE if explicitly set
backend/indexing/indexingFiles.go:302
Function
GetSubtitleSidecarContent
(subtitlePath string)
backend/common/utils/media.go:17
Method
GetTypeGroupsForSize
GetTypeGroupsForSize queries for file types that have 2+ files with the same size.
backend/database/sql/index.go:896
Function
GetUpdateAvailableUrl
()
backend/common/utils/checkForUpdates.go:87
Function
GetWebAuthn
()
backend/auth/webauthn.go:60
Method
Gets
()
backend/database/users/storage.go:14
Method
Gets
Gets gets a list of all users.
backend/database/users/storage.go:96
Method
Gets
(path, sourcePath string, id uint)
backend/database/storage/bolt/share.go:82
Method
Gets
()
backend/database/storage/bolt/users.go:59
Method
Gets
(path, source string, id uint)
backend/database/share/storage.go:23
Method
Gets
Gets returns shares for the given path, source, and user from the cache.
backend/database/share/storage.go:264
Method
Gets
()
backend/auth/json_timing_test.go:67
Function
HasAlbumArt
(filePath string, extension string)
backend/indexing/iteminfo/mediaMeta.go:284
Function
HasDocConvertableExtension
(name, mimetype string)
backend/indexing/iteminfo/conditions.go:482
Function
HashSHA256
(data string)
backend/common/utils/crypto.go:52
Function
HideFileByExt
HideFileByExt will check if a filename matches any of the hidden extensions
backend/common/utils/file.go:93
Function
InitAssetFS
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
Function
InitWebAuthn
()
backend/auth/webauthn.go:35
Function
InitializeDb
(path string)
backend/database/storage/storage.go:20
Function
InitializeIndexDB
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
Function
InitializePWAManifest
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
Method
InsertFileForDuplicates
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
Function
Is3DModel
Is3DModel reports whether the extension is a known 3D model format.
backend/indexing/iteminfo/conditions.go:368
Method
IsExpired
IsExpired checks if the share has expired based on the Expire timestamp
backend/database/share/extended.go:69
Function
IsNamedPipe
(mode os.FileMode)
backend/adapters/fs/files/files.go:987
Function
IsOnlyOffice
(name string)
backend/indexing/iteminfo/conditions.go:378
Method
IsPermanent
IsPermanent checks if the share is permanent (no expiration)
backend/database/share/extended.go:84
Function
IsRawImage
IsRawImage reports whether the extension is a known raw camera image format.
backend/indexing/iteminfo/conditions.go:357
Function
IsRevokedApiToken
don't change IsRevokedApiToken checks if a token is in the revoked list.
backend/auth/auth.go:23
Method
IsSingleFileShare
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
Function
IsSymlink
(mode os.FileMode)
backend/adapters/fs/files/files.go:991
Function
IsWebAuthnEnabled
()
backend/auth/webauthn.go:64
Method
IterateFiles
IterateFiles iterates over all files in the index and calls the callback function
backend/indexing/mutate.go:255
Function
JSONBytesEqual
JSONBytesEqual compares the JSON in two byte slices.
backend/indexing/indexing_test.go:29
Function
JoinPathAsUnix
(parts ...string)
backend/common/utils/main.go:95
Method
LastUpdate
(id uint)
backend/database/users/storage.go:28
Method
LastUpdate
LastUpdate gets the timestamp for the last update of an user.
backend/database/users/storage.go:174
Method
Load
(ctx context.Context, key string)
backend/adapters/fs/diskcache/noop_cache.go:18
← previous
next →
1,001–1,100 of 1,657, ranked by callers