MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 11 callersFunctionprepChunk
prepChunk prepares number of chunks in the database.
internal/chunk/backend/dbase/repository/repository_test.go:93
↓ 11 callersFunctionverifyChunkCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/cleanup_test.go:159
↓ 11 callersMethodview
view returns a mainView struct with the channels and the name and type of the source.
internal/viewer/handlers.go:580
↓ 10 callersFunctionCacheMgr
(opts ...cache.Option)
cmd/slackdump/internal/workspace/workspace.go:179
↓ 10 callersMethodCookies
Cookies should return a set of Slack Session cookies.
auth/auth.go:47
↓ 10 callersMethodDeduplicate
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/dedupe.go:58
↓ 10 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:186
↓ 10 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
cmd/slackdump/internal/list/mocks_test.go:42
↓ 10 callersMethodFocus
()
cmd/slackdump/internal/ui/bubbles/btime/btime.go:103
↓ 10 callersFunctionFormatSlackTS
(ts time.Time)
internal/structures/slacktime.go:63
↓ 10 callersMethodGetConversationHistoryContext
(ctx context.Context, params *slack.GetConversationHistoryParameters)
internal/client/client.go:36
↓ 10 callersMethodGetUsersInConversationContext
(ctx context.Context, params *slack.GetUsersInConversationParameters)
internal/client/client.go:46
↓ 10 callersMethodID
ID obfuscates an ID.
internal/chunk/obfuscate/ids.go:34
↓ 10 callersFunctionNewDBChannelUser
(chunkID int64, n int, channelID, userID string)
internal/chunk/backend/dbase/repository/dbchannelusers.go:34
↓ 10 callersFunctionNewMockFiler
NewMockFiler creates a new mock instance.
mocks/mock_processor/mock_processor.go:269
↓ 10 callersMethodOpen
Open opens the file with the given name. If the file is already open, it returns the existing handle. If the file is not open, it opens the compressed
internal/chunk/filemgr.go:88
↓ 10 callersMethodRemoveAll
RemoveAll deletes all the files in the cache directory, and the cache directory itself.
internal/cache/manager.go:490
↓ 10 callersMethodTransform
Transform is the function that starts the transformation of the channel or thread with the given id. It is called when the reference count for the c
internal/chunk/chunk.go:294
↓ 10 callersMethodUsers
Users should return all users.
source/source.go:57
↓ 10 callersFunctionWithFiler
WithFiler configures the controller with a file subprocessor.
internal/chunk/control/options.go:47
↓ 10 callersFunctionc
(e,t,n,r)
internal/viewer/static/htmx.min.js:1
↓ 10 callersFunctionensureDb
(ctx context.Context, dir string)
cmd/slackdump/internal/diag/dedupe.go:49
↓ 10 callersFunctionl
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 10 callersFunctionle
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 10 callersFunctionmust
(v T, err error)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr_test.go:58
↓ 10 callersFunctionorNull
orNull is a convenience function to set optional fields.
internal/chunk/backend/dbase/repository/repository.go:78
↓ 10 callersFunctionplaceholders
(v []T)
internal/chunk/backend/dbase/repository/repository.go:69
↓ 10 callersMethodrandomString
randomString returns a random string of length n + random number [0,40).
internal/chunk/obfuscate/obfuscate.go:254
↓ 10 callersFunctionslice
slice is a convenience function to create a slice of T.
internal/chunk/backend/dbase/repository/repository.go:100
↓ 10 callersMethodvalidate
(ep string)
internal/edge/edge.go:175
↓ 9 callersMethodChannelUsers
(ctx context.Context, channelID string, threadTS string, users []string)
processor/processor.go:42
↓ 9 callersMethodClose
Close closes the coordinator. It must be called once it is guaranteed that [Transform] will not be called anymore, otherwise the call to Transform wi
internal/convert/transform/export_coordinator.go:210
↓ 9 callersMethodClose
()
internal/chunk/filemgr_test.go:360
↓ 9 callersMethodClose
()
internal/chunk/backend/directory/erc.go:142
↓ 9 callersMethodConvert
Convert should convert the chunk to the Converters' output format.
internal/convert/transform/transform.go:29
↓ 9 callersMethodCurrent
()
cmd/slackdump/internal/workspace/workspace.go:87
↓ 9 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_auth/mock_auth.go:41
↓ 9 callersFunctionFromContext
FromContext returns the auth provider from the context.
auth/context.go:30
↓ 9 callersFunctionGZCompress
GZCompress compresses data using gzip and returns the compressed data.
internal/testutil/compress.go:25
↓ 9 callersMethodGetConversationInfoContext
(ctx context.Context, input *slack.GetConversationInfoInput)
internal/client/client.go:37
↓ 9 callersMethodIsComplete
IsComplete should return true, if all messages and threads for the channel has been processed.
internal/chunk/control/interfaces.go:64
↓ 9 callersFunctionNVL
(s string, ss ...string)
internal/structures/user_index.go:69
↓ 9 callersFunctionNewChannelRepository
()
internal/chunk/backend/dbase/repository/dbchannel.go:79
↓ 9 callersFunctionNewFileCopier
(src source.Sourcer, trg fsadapter.FS, trgLoc func(*slack.Channel, *slack.File) string, enabled bool)
internal/convert/filecopy.go:41
↓ 9 callersFunctionNewSessionRepository
()
internal/chunk/backend/dbase/repository/session.go:67
↓ 9 callersMethodPostForm
PostForm sends a POST request to a webclient API with form values.
internal/edge/edge.go:242
↓ 9 callersMethodRun
(ctx context.Context)
cmd/slackdump/internal/ui/dumpui/dumpui.go:123
↓ 9 callersFunctionSanitizeFilename
SanitizeFilename ensures the filename is safe for all OSes, especially Windows.
source/filestorage.go:63
↓ 9 callersMethodSelect
(name string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:39
↓ 9 callersFunctionSlack
Slack returns the Slack client initialised with the provider from context and a standard set of options initialised from the configuration.
cmd/slackdump/internal/bootstrap/slackdump.go:54
↓ 9 callersMethodString
()
cmd/slackdump/internal/workspace/list_format.go:79
↓ 9 callersFunctionType
(src string)
source/source.go:208
↓ 9 callersMethodadd
(other FileStats)
internal/redownload/filestats.go:30
↓ 9 callersFunctioncloseall
closeall closes all the io.Closer instances in the slice.
processor/processor.go:178
↓ 9 callersMethodcolumns
columns should return the column names.
internal/chunk/backend/dbase/repository/dbobject.go:28
↓ 9 callersMethodheight
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:184
↓ 9 callersMethodlimiter
()
internal/edge/limits.go:31
↓ 9 callersFunctionopen
open validates the target as a database archive, opens a RW connection to it, and opens each source path.
cmd/slackdump/internal/diag/merge.go:167
↓ 9 callersFunctionresolveMergeTarget
(targetPath string)
cmd/slackdump/internal/diag/merge.go:131
↓ 9 callersFunctionse
(e)
internal/viewer/static/htmx.min.js:1
↓ 9 callersMethodtablename
tablename should return the table name.
internal/chunk/backend/dbase/repository/dbobject.go:22
↓ 8 callersMethodAbort
Abort closes the writer without finalising the session. No additional cleanup is required here because DBP does not own the database connection.
internal/chunk/backend/dbase/dbase.go:157
↓ 8 callersFunctionAvatarParams
AvatarParams is a convenience function that returns the user ID and the base name of the original avatar filename to be passed to AvatarStorage.File f
source/filestorage.go:449
↓ 8 callersMethodDec
()
internal/chunk/backend/directory/conversations.go:72
↓ 8 callersFunctionDefaultStyle
()
cmd/slackdump/internal/ui/cfgui/style.go:39
↓ 8 callersFunctionExtractWorkspace
ExtractWorkspace takes a workspace name or URL and returns the workspace name.
internal/structures/structures.go:58
↓ 8 callersMethodGetFileContext
(ctx context.Context, downloadURL string, writer io.Writer)
internal/client/client.go:41
↓ 8 callersMethodGetUserInfoContext
(ctx context.Context, user string)
internal/client/client.go:44
↓ 8 callersFunctionH
(e)
internal/viewer/static/htmx.min.js:1
↓ 8 callersMethodIsValid
()
internal/structures/url_parse.go:57
↓ 8 callersMethodMarshal
Marshal writes the index to the filesystem in a set of files specified in `filename` tags of the structure.
internal/structures/index.go:128
↓ 8 callersFunctionNew
New creates a new MCP server. The server is populated with all available tools but does not start listening until one of the Serve* methods is called
internal/mcp/server.go:111
↓ 8 callersFunctionNewConfigUI
(sty *Style, cfgFn func() Configuration)
cmd/slackdump/internal/ui/cfgui/model.go:61
↓ 8 callersFunctionNewDTTM
(ptrTime *time.Time)
cmd/slackdump/internal/ui/updaters/date.go:44
↓ 8 callersFunctionNewMockConversations
NewMockConversations creates a new mock instance.
mocks/mock_processor/mock_processor.go:33
↓ 8 callersFunctionNewMockStorage
NewMockStorage creates a new mock instance.
source/mock_source/mock_source.go:261
↓ 8 callersMethodQueryxContext
(ctx context.Context, query string, args ...any)
internal/chunk/backend/dbase/repository/repository_test.go:257
↓ 8 callersFunctionS
(e)
internal/viewer/static/htmx.min.js:1
↓ 8 callersFunctionSkipInCI
(t *testing.T)
internal/fixtures/fixtures.go:99
↓ 8 callersFunctionSkipOnWindows
(t *testing.T)
internal/fixtures/fixtures.go:106
↓ 8 callersMethodUnregister
(id chunk.FileID)
internal/chunk/backend/directory/conversations.go:57
↓ 8 callersFunctionWithFlags
WithFlags configures the controller with flags.
internal/chunk/control/options.go:61
↓ 8 callersMethodWrite
(p []byte)
cmd/slackdump/internal/diag/hydrate_test.go:157
↓ 8 callersFunctioncalcRunDuration
calcRunDuration is the convenience function to calculate the expected run duration.
internal/network/network_test.go:43
↓ 8 callersFunctioncolAlias
(alias string, col ...string)
internal/chunk/backend/dbase/repository/generic.go:100
↓ 8 callersFunctionfirstText
firstText returns the text of the first TextContent in the result.
internal/mcp/tools_test.go:59
↓ 8 callersMethodget
get retrieves users from cache. If cache is empty or expired, it will return errCacheExpired.
user_cache.go:36
↓ 8 callersMethodget
(ctx context.Context, uri string)
cmd/slackdump/internal/diag/updater/github/github.go:169
↓ 8 callersFunctioninsertChannelWithChunkForTest
(t *testing.T, db *sqlx.DB, channelID string, chunkID int64, name string, data []byte)
internal/chunk/backend/dbase/repository/dedupe_test.go:483
↓ 8 callersFunctionisErrorResult
isErrorResult returns true when the result carries IsError=true.
internal/mcp/tools_test.go:54
↓ 8 callersMethodlimiter
(t network.Tier)
slackdump.go:216
↓ 8 callersFunctionnewTestServer
newTestServer creates a *Server backed by a MockSourceResumeCloser with minimum Name/Type expectations set, pre-loaded via direct field injection. It
internal/mcp/server_test.go:37
↓ 8 callersFunctionprepChunkWithFinal
(tc ...testChunk)
internal/chunk/backend/dbase/repository/repository_test.go:110
↓ 8 callersFunctionrealname
realname returns the sanitised name of the workspace, replacing the empty string with "default". Empty workspace name is possible if the user hasn't
cmd/slackdump/internal/workspace/new.go:124
↓ 8 callersFunctionseqFromMessages
(msgs []slack.Message)
internal/redownload/redownload_test.go:119
↓ 8 callersMethodset
(users types.Users)
user_cache.go:45
↓ 8 callersMethodsetConversation
setConversation sets the Conversation and canvas-related fields on the page view. It should be called whenever a channel is loaded, so that the canva
internal/viewer/handlers.go:674
↓ 8 callersFunctionsetWaitFunc
(fn func(int) time.Duration)
internal/network/network.go:55
↓ 8 callersFunctiontestChannel
(id, name, teamID string)
cmd/slackdump/internal/diag/merge_test.go:650
↓ 8 callersFunctionu
(e)
internal/viewer/static/htmx.min.js:1
← previousnext →201–300 of 4,254, ranked by callers