MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 5 callersFunctiontestRNG
()
internal/chunk/obfuscate/obfuscate_test.go:37
↓ 5 callersFunctiontestUsers
()
internal/convert/transform/export_coordinator_test.go:53
↓ 5 callersFunctionthreadID
(channelID, threadTS string)
internal/chunk/chunk.go:199
↓ 5 callersFunctiontupleVal
(entry []int, tuple int)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:231
↓ 5 callersFunctionunmarshal
unmarshal reads the JSON file from the filesystem and unmarshals it into the provided value.
source/source.go:284
↓ 5 callersFunctionupdateTestModel
(t *testing.T, m *Model, msg tea.Msg)
cmd/slackdump/internal/ui/cfgui/model_test.go:142
↓ 5 callersMethodvalues
values should return the values of the entity.
internal/chunk/backend/dbase/repository/dbobject.go:30
↓ 5 callersMethodwidth
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:326
↓ 5 callersFunctionx
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunctiony
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 4 callersMethodAlias
Alias returns the alias for the given channel ID.
internal/viewer/handlers.go:569
↓ 4 callersFunctionAll
()
internal/format/format.go:64
↓ 4 callersMethodAllOfType
AllOfType should return all entities of a given chunk types.
internal/chunk/backend/dbase/repository/generic.go:49
↓ 4 callersFunctionAtExit
(f func())
cmd/slackdump/internal/golang/base/base.go:107
↓ 4 callersMethodC
()
internal/chunk/control/processors.go:270
↓ 4 callersFunctionCaller
(steps int)
internal/osext/osext.go:46
↓ 4 callersMethodChannel
(id string)
internal/viewer/renderer/routes.go:75
↓ 4 callersMethodChannel
(c *slack.Channel)
internal/chunk/obfuscate/obfuscate.go:301
↓ 4 callersFunctionChannelType
(ch slack.Channel)
internal/structures/conversation.go:60
↓ 4 callersMethodCleanupUnfinishedSessions
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/cleanup.go:18
↓ 4 callersMethodClose
Close closes the database connection. It is a noop if the [Source] was created with [Connect].
internal/chunk/backend/dbase/source.go:162
↓ 4 callersFunctionCn
(r,e,o,i,s)
internal/viewer/static/htmx.min.js:1
↓ 4 callersMethodConvert
Convert converts the chunk directory contents to the export format. It validates the input parameters.
internal/convert/export.go:117
↓ 4 callersMethodCountThreadOnlyParts
CountThreadOnlyParts should return the number of parts in a complete thread-only thread. If an unfinished or non-existent thread is requested, it shou
internal/chunk/backend/dbase/repository/dbmessage.go:153
↓ 4 callersFunctionCurrentOrNewProviderCtx
(ctx context.Context)
cmd/slackdump/internal/workspace/workspace.go:190
↓ 4 callersFunctionDatabase
(path string)
cmd/slackdump/internal/bootstrap/database.go:41
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_io/mock_io.go:38
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_io/mock_io.go:91
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/control/mock_control/mock_interfaces.go:208
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/backend/dbase/repository/mock_repository/mock_user.go:43
↓ 4 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
cmd/slackdump/internal/emoji/emojidl/emoji_mock_test.go:39
↓ 4 callersMethodError
()
internal/chunk/file.go:565
↓ 4 callersMethodExists
Exists returns true if the workspace with name "name" exists in the list of authenticated workspaces.
internal/cache/manager.go:348
↓ 4 callersMethodFiles
Files method is called for each file that is retrieved. The parent message is passed in as well.
processor/processor.go:57
↓ 4 callersMethodFinish
()
internal/chunk/control/interfaces.go:83
↓ 4 callersFunctionFromReader
FromReader creates a new chunk File from the io.ReadSeeker.
internal/chunk/file.go:79
↓ 4 callersMethodID
ID returns a Group ID for the chunk.
internal/chunk/chunk.go:147
↓ 4 callersMethodInsert
Insert should insert a new session into the database. If the session has a parent session, it should verify that the parent session exists. It should
internal/chunk/backend/dbase/repository/session.go:48
↓ 4 callersMethodIsCompleteThread
IsCompleteThread should return true, if all messages in the thread for thread-only list entry have been processed. The behaviour of this function is
internal/chunk/control/interfaces.go:68
↓ 4 callersFunctionIsValid
IsValid returns true if the file can be downloaded and is valid.
internal/convert/transform/fileproc/fileproc.go:120
↓ 4 callersFunctionLoad
Load deserialises JSON data from reader and returns a ValueAuth, that can be used to authenticate Slackdump. It will return ErrNoToken or ErrNoCookie
auth/auth.go:92
↓ 4 callersFunctionM
(t)
internal/viewer/static/htmx.min.js:1
↓ 4 callersMethodModTime
ModTime mocks base method.
internal/mocks/mock_os/mock_os.go:59
↓ 4 callersMethodModTime
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:463
↓ 4 callersMethodName
Name returns the full directory path.
internal/chunk/directory.go:303
↓ 4 callersFunctionNew
New creates a new file manager model over the filesystem fsys. The base directory is what will be displayed in the file manager. The dir is the curr
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:82
↓ 4 callersFunctionNewAdapter
(runopts *playwright.RunOptions)
auth/browser/pwcompat/pwcompat.go:55
↓ 4 callersFunctionNewAvatarProc
(dl Downloader)
internal/convert/transform/fileproc/avatar.go:31
↓ 4 callersFunctionNewChannelUserRepository
()
internal/chunk/backend/dbase/repository/dbchannelusers.go:65
↓ 4 callersFunctionNewDBWorkspace
(chunkID int64, wi *slack.AuthTestResponse)
internal/chunk/backend/dbase/repository/dbworkspace.go:40
↓ 4 callersFunctionNewDuration
(value *time.Duration, showPrompt bool)
cmd/slackdump/internal/ui/updaters/duration.go:40
↓ 4 callersFunctionNewMockChannels
NewMockChannels creates a new mock instance.
mocks/mock_processor/mock_processor.go:179
↓ 4 callersFunctionNewPicklist
(v *T, s *huh.Select[T])
cmd/slackdump/internal/ui/updaters/picklist.go:37
↓ 4 callersFunctionNewPlaywrightAuth
(ctx context.Context, opts ...Option)
auth/browser.go:59
↓ 4 callersFunctionNewToExport
NewToExport returns the converter from any source to export format. src is the Source to be converted (e.g. chunk or database), trgfs is the target FS
internal/convert/export.go:65
↓ 4 callersFunctionNewToHTML
(src source.Sourcer, trg fsadapter.FS, opts ...Option)
internal/convert/html.go:45
↓ 4 callersFunctionNewWithInfo
NewWithInfo is the same as New, but doesn't call the AuthTest on initialisation. Caller must ensure that the token is valid.
internal/edge/edge.go:122
↓ 4 callersFunctionNewWithPathFn
NewWithPathFn initialises the file processor.
internal/convert/transform/fileproc/fileproc.go:53
↓ 4 callersFunctionNewWorkspaceRepository
()
internal/chunk/backend/dbase/repository/dbworkspace.go:106
↓ 4 callersFunctionOn
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 4 callersMethodOneForChunk
(ctx context.Context, conn sqlx.QueryerContext, chunkID int64)
internal/chunk/backend/dbase/repository/generic.go:62
↓ 4 callersFunctionOpenMattermostStorage
OpenMattermostStorage returns the resolver for the mattermost export format. rootfs is the root filesystem of the export.
source/filestorage.go:121
↓ 4 callersFunctionParseDotEnv
(filename string)
auth/env.go:65
↓ 4 callersFunctionParseURL
ParseURL parses the slack link in the format of https://xxxx.slack.com/archives/XXXXX[/p99999999]
internal/structures/url_parse.go:99
↓ 4 callersMethodPostFormRaw
(ctx context.Context, url string, form url.Values)
internal/edge/edge.go:254
↓ 4 callersFunctionPrependFiler
PrependFiler prepends the Filer to the Conversations.
processor/processor.go:216
↓ 4 callersFunctionSave
Save serialises authentication information to writer. It will return ErrNoToken or ErrNoCookie if provider fails validation.
auth/auth.go:103
↓ 4 callersMethodSearchMessagesContext
(ctx context.Context, query string, params slack.SearchParameters)
internal/client/client.go:50
↓ 4 callersFunctionSessionInfo
(mode string)
cmd/slackdump/internal/bootstrap/database.go:60
↓ 4 callersFunctionSortMessages
(msgs []Message)
types/message.go:58
↓ 4 callersMethodSorted
Sorted returns all thread and channel messages in ascending or descending time order.
internal/chunk/backend/dbase/repository/dbmessage.go:147
↓ 4 callersMethodStop
()
internal/convert/transform/fileproc/fileproc.go:41
↓ 4 callersMethodString
()
internal/chunk/backend/dbase/repository/dedupe.go:49
↓ 4 callersMethodThread
Thread returns the messages for the given thread.
internal/chunk/player.go:166
↓ 4 callersFunctionTimeParse
TimeParse parses a string that can be either a date in 2006-01-02 layout or time in 2006-01-02T15:04:05 layout.
internal/structures/entity_list.go:282
↓ 4 callersMethodURL
URL mocks base method.
auth/browser/playwright_test.go:289
↓ 4 callersMethodUsersBulkWithCustom
(ctx context.Context, proc processor.Users, includeLabels bool, ids ...string)
internal/chunk/control/interfaces.go:42
↓ 4 callersMethodWalkSync
WalkSync is the same as Walk, but it closes the file after the callback is called.
internal/chunk/directory.go:292
↓ 4 callersFunctionWithLogger
WithLogger sets the logger.
internal/convert/convert.go:97
↓ 4 callersFunctionWithMessageDedupeMode
(mode MessageDedupeMode)
internal/chunk/backend/dbase/repository/dedupe.go:63
↓ 4 callersFunctionX
()
internal/viewer/static/htmx.min.js:1
↓ 4 callersFunctionXt
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 4 callersFunctionallForID
allForID returns all the messages for the given id.
internal/chunk/file.go:351
↓ 4 callersFunctionapply
apply calls fn for each element of slice elements.
internal/structures/files/files.go:107
↓ 4 callersFunctionapplyStyle
(s string, style *slack.RichTextSectionTextStyle)
internal/viewer/renderer/slack_rich_text.go:83
↓ 4 callersFunctionargsWorkspace
argsWorkspace checks if the current workspace override is set, and returns it if it is. Otherwise, it checks the first (with index zero) argument in a
cmd/slackdump/internal/workspace/workspace.go:93
↓ 4 callersFunctionassertFileContents
(t *testing.T, path, want string)
cmd/slackdump/internal/diag/merge_test.go:771
↓ 4 callersFunctionassertHelp
(t *testing.T, b key.Binding, wantKey, wantDesc string)
cmd/slackdump/internal/ui/updaters/date_test.go:145
↓ 4 callersFunctionassertThreadFilesEq
(t *testing.T, tc *threadCache, chanName string, threadTS string, expected []string)
source/export_cache_test.go:78
↓ 4 callersFunctionchannelUsersID
(channelID string)
internal/chunk/chunk.go:237
↓ 4 callersFunctionchannelsTeamID
channelsTeamID returns the team ID from the first public channel with a known shared team ID.
cmd/slackdump/internal/diag/merge.go:270
↓ 4 callersFunctioncheckCount
checkCount returns a utility function to check the count of rows in the table.
internal/chunk/backend/dbase/repository/repository_test.go:79
↓ 4 callersMethodchunkWrapper
(fn func(p *chunk.Player) http.HandlerFunc)
internal/chunk/chunktest/dirserver.go:70
↓ 4 callersMethodchunkfileWrapper
(name chunk.FileID, fn func(p *chunk.Player) http.HandlerFunc)
internal/chunk/chunktest/dirserver.go:101
↓ 4 callersFunctioncmdSetValue
cmdSetValue returns a command that sets a value to v, key is implementation specific, may not be used by the caller.
cmd/slackdump/internal/ui/updaters/bool.go:39
↓ 4 callersFunctioncollectItems
collectItems starts a goroutine to collect the items. When the return function is called, it waits for the goroutine to finish. It returns the colle
internal/chunk/control/processors_test.go:753
↓ 4 callersFunctioncomparecontents
(t *testing.T, f *wrappedfile, want string)
internal/chunk/filemgr_test.go:244
↓ 4 callersFunctioncopyfiles
(trgdir string, fs fs.FS)
cmd/slackdump/internal/convertcmd/convert.go:135
↓ 4 callersMethodensure
ensure ensures that the file index was generated.
internal/chunk/file.go:147
↓ 4 callersFunctionfetch
fetch downloads the emojis and saves them to the fsa. It spawns numWorker goroutines for getting the files. It will call fetchFn for each emoji.
cmd/slackdump/internal/emoji/emojidl/emoji.go:104
← previousnext →501–600 of 4,254, ranked by callers