Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boreq/eggplant
/ functions
Functions
1,634 in github.com/boreq/eggplant
⨍
Functions
1,634
◇
Types & classes
529
↓ 5 callers
Method
pushSuccess
(vue: Vue, text: string)
frontend/src/components/Notifications.ts:22
↓ 5 callers
Function
registerAdminAndLogin
(t *testing.T, ts *testService)
backend/internal/componenttest/service_test.go:334
↓ 5 callers
Function
thumbnailIdFor
(t *testing.T, filename string)
backend/domain/music/library/library_test.go:619
↓ 5 callers
Function
trackIdFor
(t *testing.T, title string)
backend/domain/music/library/library_test.go:610
↓ 4 callers
Method
Duration
()
backend/domain/music/track.go:127
↓ 4 callers
Method
EventName
()
backend/domain/remote/events.go:4
↓ 4 callers
Method
IsZero
()
backend/application/music/handler_search.go:41
↓ 4 callers
Method
OutputDirectory
()
backend/adapters/music/thumbnails/thumbnails.go:85
↓ 4 callers
Method
OutputFile
(id string)
backend/adapters/music/thumbnails/store.go:39
↓ 4 callers
Method
PopUpdates
()
backend/adapters/auth/last_seen_updater.go:50
↓ 4 callers
Method
SetItems
(items []TrackStoreItem)
backend/application/music/music.go:50
↓ 4 callers
Method
SetRemotePairingToken
(token PairingToken)
backend/domain/remote/instance.go:59
↓ 4 callers
Method
String
()
backend/domain/music/streaming.go:33
↓ 4 callers
Method
addTrack
(t TrackWithAlbum, dist int)
backend/domain/music/library/search.go:169
↓ 4 callers
Method
clearTimeout
()
frontend/src/views/Browse.ts:369
↓ 4 callers
Function
decodeUser
(j []byte)
backend/adapters/auth/repository_users.go:193
↓ 4 callers
Function
emptyArray
(arr: any[])
frontend/src/store.ts:197
↓ 4 callers
Method
getRootVisibility
()
backend/domain/music/library/library.go:105
↓ 4 callers
Method
getStreamForFile
(streamId musicdomain.StreamId, fileId musicdomain.FileId)
backend/adapters/music/tracks/converter.go:330
↓ 4 callers
Method
isPaired
()
backend/domain/remote/instance.go:127
↓ 4 callers
Method
load
(silent = false)
frontend/src/components/Remotes.ts:132
↓ 4 callers
Function
mustToken
(t *testing.T, s string)
backend/adapters/auth/last_seen_updater_test.go:68
↓ 4 callers
Function
newAuthRepositoriesProvider
()
backend/internal/wire/inject_application.go:113
↓ 4 callers
Function
optionalFilePath
(t *testing.T, raw string)
backend/adapters/music/scanner/scanner_test.go:365
↓ 4 callers
Method
parseStreamRequest
(w http.ResponseWriter, ps httprouter.Params)
backend/entrypoints/http/handler.go:359
↓ 4 callers
Method
streamsRoot
()
backend/adapters/music/tracks/converter.go:484
↓ 4 callers
Function
toRemotePartialAlbum
(a openapi.PartialAlbum, instanceID remotedomain.RemoteInstanceID)
backend/adapters/remote/remote_library.go:349
↓ 4 callers
Method
trackBase
(track: Track)
frontend/src/services/ApiService.ts:76
↓ 4 callers
Method
translateAndWriteStreamError
(w http.ResponseWriter, err error)
backend/entrypoints/http/handler.go:388
↓ 3 callers
Method
AddEvents
(source remotedomain.EventSource)
backend/application/remote/remote.go:27
↓ 3 callers
Method
At
()
backend/domain/remote/healthcheck.go:56
↓ 3 callers
Method
BrowseWithResponse
BrowseWithResponse request
backend/adapters/openapi/openapi.gen.go:2338
↓ 3 callers
Method
Count
()
backend/application/queries/queries.go:4
↓ 3 callers
Method
GetByLocalAuthTokenHash
(hash remotedomain.HashedAuthToken)
backend/application/remote/remote.go:22
↓ 3 callers
Method
GetByLocalPairingTokenHash
(hash remotedomain.HashedPairingToken)
backend/application/remote/remote.go:21
↓ 3 callers
Method
GetCurrentUserWithResponse
GetCurrentUserWithResponse request
backend/adapters/openapi/openapi.gen.go:2303
↓ 3 callers
Method
GetDuration
(ctx context.Context, fileId musicdomain.FileId)
backend/adapters/music/tracks/durations.go:68
↓ 3 callers
Method
GetUsersWithResponse
GetUsersWithResponse request
backend/adapters/openapi/openapi.gen.go:2332
↓ 3 callers
Method
Hash
()
backend/domain/remote/tokens.go:80
↓ 3 callers
Method
Load
(file string)
backend/application/music/music.go:103
↓ 3 callers
Method
OutputDirectory
()
backend/adapters/music/thumbnails/store.go:41
↓ 3 callers
Method
Password
()
backend/domain/auth/user.go:40
↓ 3 callers
Method
Provide
(tx *bolt.Tx)
backend/adapters/auth/transaction.go:11
↓ 3 callers
Method
RegisterInitialWithResponse
(ctx context.Context, body RegisterInitialJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:2329
↓ 3 callers
Method
RemoteInstanceId
()
backend/domain/music/album.go:118
↓ 3 callers
Method
Scan
()
backend/application/music/handler_load_library.go:14
↓ 3 callers
Method
Status
Status returns HTTPResponse.Status
backend/adapters/openapi/openapi.gen.go:2514
↓ 3 callers
Method
Thumbnail
()
backend/domain/music/album.go:102
↓ 3 callers
Method
Token
()
backend/domain/auth/invitation.go:17
↓ 3 callers
Function
childAlbumTitles
(albums []music.PartialAlbum)
backend/domain/music/library/library_test.go:666
↓ 3 callers
Method
closeDropdowns
()
frontend/src/components/Tracks.ts:145
↓ 3 callers
Function
containsStringCaseInsensitive
(s, substr string)
backend/domain/music/library/search.go:135
↓ 3 callers
Method
findAlbum
(root *album, file music.FilePath)
backend/adapters/music/scanner/scanner.go:233
↓ 3 callers
Method
formatTime
(numberOfSeconds: number)
frontend/src/services/TextService.ts:3
↓ 3 callers
Function
generateCryptoString
(numBytes int)
backend/domain/auth/crypto.go:10
↓ 3 callers
Method
getBrowse
(albumId?: string, instanceId?: string)
frontend/src/services/NavigationService.ts:5
↓ 3 callers
Method
load
()
frontend/src/components/Users.ts:52
↓ 3 callers
Method
login
(cmd: LoginCommand)
frontend/src/services/ApiService.ts:118
↓ 3 callers
Function
mkTrack
(t *testing.T, title string)
backend/domain/music/library/library_test.go:628
↓ 3 callers
Function
mustAccessToken
(t *testing.T, s string)
backend/internal/componenttest/auth_test.go:650
↓ 3 callers
Function
mustUsername
(t *testing.T, s string)
backend/adapters/auth/last_seen_updater_test.go:62
↓ 3 callers
Function
newBolt
(conf *config.Config)
backend/internal/wire/inject_bolt.go:17
↓ 3 callers
Function
newIdForHumans
(parents []AlbumId, last fmt.Stringer)
backend/domain/music/id.go:17
↓ 3 callers
Function
newIdForHumansFromString
(s string)
backend/domain/music/id.go:23
↓ 3 callers
Function
newTestInstanceWithPairingToken
(t *testing.T)
backend/adapters/remote/repository_remote_instances_test.go:280
↓ 3 callers
Function
newTestPairingTokenHash
(t *testing.T)
backend/domain/remote/instance_test.go:23
↓ 3 callers
Function
openFile
(p string)
backend/adapters/music/tracks/converter.go:511
↓ 3 callers
Method
pad
(num: number, size: number)
frontend/src/services/TextService.ts:14
↓ 3 callers
Method
pairedTargets
()
backend/adapters/remote/remote_library.go:227
↓ 3 callers
Method
paused
()
frontend/src/components/Tracks.ts:141
↓ 3 callers
Method
playlistPathInDir
(dir string)
backend/adapters/music/tracks/converter.go:492
↓ 3 callers
Function
remoteInstanceId
(id *remote.RemoteInstanceID)
backend/entrypoints/http/dto.go:72
↓ 3 callers
Method
serveConvertedFile
(w http.ResponseWriter, r *http.Request, p music.ConvertedFile, contentType string)
backend/entrypoints/http/handler.go:399
↓ 3 callers
Method
signalReady
(ctx context.Context, err error)
backend/adapters/music/tracks/converter.go:443
↓ 3 callers
Method
startStream
(track: Track, seekSeconds = 0)
frontend/src/components/Player.ts:127
↓ 3 callers
Method
stats
()
frontend/src/services/ApiService.ts:68
↓ 3 callers
Function
toPartialAlbum
(a music.PartialAlbum)
backend/entrypoints/http/dto.go:108
↓ 3 callers
Function
toPartialAlbums
(albums []music.PartialAlbum)
backend/entrypoints/http/dto.go:100
↓ 3 callers
Function
toRemoteTrack
toRemoteTrack builds a remote track. The peer does not expose the internal file id (it is not part of the public album representation), so remote trac
backend/adapters/remote/remote_library.go:381
↓ 3 callers
Function
toThumbnail
(thumb *music.Thumbnail)
backend/entrypoints/http/dto.go:49
↓ 3 callers
Function
trackListTitles
(tracks []music.Track)
backend/domain/music/library/library_test.go:674
↓ 3 callers
Function
unmarshalRemoteInstance
(j []byte)
backend/adapters/remote/repository_remote_instances.go:157
↓ 3 callers
Function
userFromCtx
(t *testing.T, a *auth.Auth, ctx accessctx.AccessContext)
backend/internal/componenttest/auth_test.go:609
↓ 3 callers
Function
validateDirectory
(dir string)
backend/cmd/eggplant/commands/run.go:81
↓ 2 callers
Method
AccessFile
()
backend/domain/music/scanner/scanner.go:85
↓ 2 callers
Method
AddHandler
(name, topic string, fn message.NoPublishHandlerFunc)
backend/entrypoints/outbox/outbox.go:11
↓ 2 callers
Method
AddRemoteWithResponse
(ctx context.Context, body AddRemoteJSONRequestBody, reqEditors ...RequestEditorFn)
backend/adapters/openapi/openapi.gen.go:2352
↓ 2 callers
Function
Bolt
(t *testing.T)
backend/internal/fixture/fixture.go:29
↓ 2 callers
Method
BrowseAlbumWithResponse
BrowseAlbumWithResponse request
backend/adapters/openapi/openapi.gen.go:2341
↓ 2 callers
Method
Compare
(hashedPassword authdomain.PasswordHash, password authdomain.Password)
backend/adapters/auth/password.go:27
↓ 2 callers
Method
Execute
(ctx context.Context)
backend/application/auth/handler_persist_last_seen.go:27
↓ 2 callers
Method
Extension
()
backend/adapters/music/thumbnails/thumbnails.go:18
↓ 2 callers
Method
GetRootAlbum
(ctx context.Context, address remotedomain.RemoteInstanceAddress, authToken remotedomain.AuthToken)
backend/adapters/remote/remote_client.go:61
↓ 2 callers
Method
GetStats
()
backend/application/queries/queries.go:8
↓ 2 callers
Method
GetStatsWithResponse
GetStatsWithResponse request
backend/adapters/openapi/openapi.gen.go:2384
↓ 2 callers
Method
GetStreamFragment
GetStreamFragment request
backend/adapters/openapi/openapi.gen.go:531
↓ 2 callers
Method
GetStreamInit
GetStreamInit request
backend/adapters/openapi/openapi.gen.go:534
↓ 2 callers
Method
GetStreamPlaylist
GetStreamPlaylist request
backend/adapters/openapi/openapi.gen.go:540
↓ 2 callers
Method
GetThumbnail
GetThumbnail request
backend/adapters/openapi/openapi.gen.go:522
↓ 2 callers
Method
GetTrackDuration
GetTrackDuration request
backend/adapters/openapi/openapi.gen.go:525
← previous
next →
101–200 of 1,634, ranked by callers