MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 8 callersFunctionwriteEnvFile
(t *testing.T, filename string, m map[string]string)
auth/env_test.go:34
↓ 7 callersMethodClose
()
internal/convert/filecopy.go:193
↓ 7 callersMethodCreateAndSelect
(ctx context.Context, p auth.Provider)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:38
↓ 7 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/backend/dbase/repository/mock_repository/mock_message.go:43
↓ 7 callersMethodError
()
internal/osext/osext.go:31
↓ 7 callersMethodGetFileInfoContext
(ctx context.Context, fileID string, count int, page int)
internal/client/client.go:42
↓ 7 callersMethodGetUserProfileContext
(ctx context.Context, params *slack.GetUserProfileParameters)
internal/client/client.go:51
↓ 7 callersMethodGetUsersContext
(ctx context.Context, options ...slack.GetUsersOption)
internal/client/client.go:45
↓ 7 callersMethodInit
()
cmd/slackdump/internal/ui/updaters/filepick_new.go:59
↓ 7 callersMethodInsert
(ctx context.Context, conn sqlx.ExtContext, s *Session)
internal/chunk/backend/dbase/repository/session.go:71
↓ 7 callersFunctionInt2Time
Int2Time converts an int64 to a time.Time.
internal/fasttime/fasttime.go:68
↓ 7 callersFunctionNewConversation
NewConversation returns the new conversation processor. filesSubproc will be called for each file chunk, tf will be called for each completed channel
internal/chunk/backend/directory/conversations.go:103
↓ 7 callersFunctionNewExportCoordinator
NewExportCoordinator creates a new ExportCoordinator instance.
internal/convert/transform/export_coordinator.go:97
↓ 7 callersFunctionNewMocktracker
NewMocktracker creates a new mock instance.
internal/chunk/backend/directory/dirproc_mock_test.go:34
↓ 7 callersFunctionOpenChunkDir
OpenChunkDir creates a new ChurkDir source. It expects the attachments to be in the mattermost storage format. If the attachments are not in the mat
source/chunkdir.go:48
↓ 7 callersFunctionOptFailOnNonCritError
OptFailOnNonCritError enables or disables detection and special treatment of channel_not_found Slack errors. If disabled, non-existing channels and c
stream/stream.go:176
↓ 7 callersFunctionOptResultFn
OptResultFn sets the callback function that is called for each result.
stream/stream.go:155
↓ 7 callersFunctionParseLink
ParseLink parses the slack link string. It supports the following formats: - XXXXXXX - channel ID - XXXXXXX:99999999.99999 - ch
internal/structures/url_parse.go:81
↓ 7 callersFunctionSkipIfNotExist
(t *testing.T, path string)
internal/fixtures/fixtures.go:113
↓ 7 callersFunctionSlackdumpSession
SlackdumpSession returns the Slackdump Session initialised with the provider from context and a standard set of options initialised from the configura
cmd/slackdump/internal/bootstrap/slackdump.go:32
↓ 7 callersMethodStart
Start starts the coordinator, the users must have been initialised with the WithUsers option. Otherwise, use [ExportCoordinator.StartWithUsers] metho
internal/convert/transform/export_coordinator.go:129
↓ 7 callersMethodStartWithUsers
(ctx context.Context, users []slack.User)
internal/chunk/control/interfaces.go:46
↓ 7 callersMethodStop
Stop indicates that the auth flow should cleanup and exit, if it is keeping the state.
auth/browser.go:56
↓ 7 callersFunctionString
String asks user to input string, accepts an empty input.
cmd/slackdump/internal/ui/input.go:45
↓ 7 callersMethodString
()
cmd/slackdump/internal/diag/uninstall.go:84
↓ 7 callersFunctionToIter
ToIter converts a slice of testResult to an iter.Seq2.
internal/testutil/iter.go:68
↓ 7 callersMethodUsage
()
cmd/slackdump/internal/golang/base/base.go:149
↓ 7 callersMethodWait
Wait closes the transformer.
internal/convert/transform/dump_coordinator.go:64
↓ 7 callersFunctionWithAvatarProcessor
WithAvatarProcessor configures the controller with an avatar downloader.
internal/chunk/control/options.go:54
↓ 7 callersFunctionWithLogger
WithLogger configures the controller with a logger.
internal/chunk/control/options.go:77
↓ 7 callersMethodallOfTypeWhere
allOfTypeWhere returns an iterator that yields all latest rows type T that satisfy the where clause. If where is empty, all entities are returned. Nu
internal/chunk/backend/dbase/repository/generic.go:278
↓ 7 callersMethoddebugtrace
(ctx context.Context, fmt string, args ...any)
internal/chunk/backend/directory/conversations.go:243
↓ 7 callersMethodfilepath
filepath returns the full path to the filename of workspace name.
internal/cache/manager.go:376
↓ 7 callersFunctionh
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 7 callersFunctioninitNewProject
initNewProject creates tgtDir (if needed) and assembles the project from the layout manifest, copying layout-specific files from layoutFS and shared s
cmd/slackdump/internal/mcp/mcp.go:181
↓ 7 callersFunctionmkindex
(rs io.ReadSeeker)
internal/chunk/file_test.go:733
↓ 7 callersFunctionmockConvInfo
(mc *mock_client.MockSlack, channelID, wantName string)
messages_test.go:336
↓ 7 callersFunctionnewRoundRobin
newRoundRobin creates a new round-robin strategy with the given total number of items. The first call to next() returns index 0.
internal/client/strategy.go:35
↓ 7 callersFunctionparseArgs
parseArgs parses arguments and returns the input and output streams. 1. if no arguments are given, input is stdin and output is stdout 2. if one argum
cmd/slackdump/internal/diag/encrypt.go:191
↓ 7 callersFunctionr
(e)
internal/viewer/static/htmx.min.js:1
↓ 7 callersFunctionreadFile
(t *testing.T, root, name string)
internal/convert/html_test.go:354
↓ 7 callersFunctionreplaceBinary
replaceBinary extracts the binary from the archive (tar.gz or zip) and replaces the current executable. On Windows, this function uses a special worka
cmd/slackdump/internal/diag/updater/autoupdate.go:372
↓ 7 callersFunctionresultJSON
resultJSON serialises v to JSON and returns a CallToolResult with the JSON as plain text content. We intentionally do not populate StructuredContent
internal/mcp/server.go:275
↓ 7 callersFunctionsetGlobalFetchFn
(fn fetchFunc)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:51
↓ 7 callersFunctionstringArg
stringArg extracts a named string argument from a tool call request. Returns ("", false) if the argument is absent or not a string.
internal/mcp/server.go:285
↓ 7 callersFunctiont
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 7 callersFunctiontoolReq
toolReq builds a CallToolRequest with the given argument map.
internal/mcp/server_test.go:49
↓ 7 callersFunctiontv
(t time.Time)
cmd/slackdump/internal/cfg/timevalue_test.go:25
↓ 7 callersFunctionunmarshalOne
(fsys fs.FS, name string)
source/source.go:269
↓ 7 callersFunctionverifyMessageCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/cleanup_test.go:167
↓ 7 callersFunctionwait
(n int)
internal/network/network.go:61
↓ 6 callersMethodAllMessages
(ctx context.Context, channelID string)
cmd/slackdump/internal/diag/hydrate.go:199
↓ 6 callersMethodAuthProvider
(ctx context.Context, workspace string, opts ...auth.Option)
internal/cache/auth.go:140
↓ 6 callersFunctionChannelFromID
(id string)
internal/structures/conversation.go:73
↓ 6 callersMethodChannels
Channels should return all channels.
source/source.go:55
↓ 6 callersMethodClose
Close releases any HTTP transports owned by the client.
internal/client/client.go:159
↓ 6 callersMethodClose
()
internal/convert/transform/fileproc/avatar.go:51
↓ 6 callersMethodClose
()
internal/chunk/control/runner_test.go:433
↓ 6 callersMethodCloseAll
()
internal/chunk/backend/directory/conversations.go:58
↓ 6 callersFunctionDatabaseWithSession
DatabaseWithSession returns the database connection open for writing, and a session info based on the mode and the command line arguments.
cmd/slackdump/internal/bootstrap/database.go:55
↓ 6 callersMethodDelete
(name string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:40
↓ 6 callersMethodDisplayName
DisplayName tries to resolve the display name by ID. if the index is empty, it returns the user ID. If the user is not found in index, is assumes that
internal/structures/user_index.go:52
↓ 6 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:148
↓ 6 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_downloader/mock_getfiler.go:40
↓ 6 callersMethodError
()
internal/convert/export.go:274
↓ 6 callersMethodExecute
(c *types.Conversation)
internal/convert/transform/dump.go:40
↓ 6 callersFunctionExit
()
cmd/slackdump/internal/golang/base/base.go:111
↓ 6 callersMethodFiles
Files processes files, skipping those that already exist in the database with the same ID and size. Files are processed one-by-one rather than batche
internal/convert/transform/fileproc/dedup.go:63
↓ 6 callersMethodGetByIDAndSize
GetByIDAndSize returns a file by its ID and size. Used to check if a file with the same ID and size already exists (deduplication).
internal/chunk/backend/dbase/repository/dbfile.go:112
↓ 6 callersMethodGetUsers
(ctx context.Context)
cmd/slackdump/internal/list/users.go:106
↓ 6 callersFunctionInt2TS
Int2TS converts an int64 to a slack timestamp by inserting a dot in the right place.
internal/fasttime/fasttime.go:55
↓ 6 callersFunctionIsInteractive
IsInteractive returns true if the program is running in the interactive terminal.
internal/osext/terminal.go:26
↓ 6 callersMethodLoadUsers
(teamID string, retention time.Duration)
cmd/slackdump/internal/list/users.go:110
↓ 6 callersFunctionNew
New creates a new generic [Controller], that accepts [EncodeReferenceFinisher]. Once the [Control.Close] is called it closes all processors, including
internal/chunk/control/control.go:41
↓ 6 callersFunctionNew
New creates a new pager with the given title and pre-rendered content. The viewport is sized when the first tea.WindowSizeMsg arrives.
cmd/slackdump/internal/ui/bubbles/pager/pager.go:71
↓ 6 callersFunctionNewAliasRepository
()
internal/chunk/backend/dbase/repository/alias.go:42
↓ 6 callersFunctionNewCleanupRepository
()
internal/chunk/backend/dbase/repository/cleanup.go:23
↓ 6 callersFunctionNewErrMissingHandler
(t any)
internal/viewer/renderer/slack.go:206
↓ 6 callersFunctionNewHelp
()
cmd/slackdump/internal/ui/keymap.go:87
↓ 6 callersFunctionNewManager
NewManager creates a new workspace manager over the directory dir. The directory is created with rwx------ permissions, if it does not exist. TODO:
internal/cache/manager.go:139
↓ 6 callersFunctionNewMockAvatars
NewMockAvatars creates a new mock instance.
mocks/mock_processor/mock_processor.go:599
↓ 6 callersFunctionNewMockExportTransformer
NewMockExportTransformer creates a new mock instance.
internal/chunk/control/mock_control/mock_interfaces.go:239
↓ 6 callersFunctionNewUserIndex
NewUserIndex creates a new UserIndex from slack Users slice
internal/structures/user_index.go:29
↓ 6 callersMethodOpen
Open opens a chunk file with the given name. Extension is appended automatically.
internal/chunk/directory.go:327
↓ 6 callersFunctionOptLatest
OptLatest sets the latest time to be fetched.
stream/stream.go:148
↓ 6 callersFunctionOptOldest
OptOldest sets the oldest time to be fetched.
stream/stream.go:141
↓ 6 callersFunctionParseSlackTS
ParseSlackTS parses the slack timestamp.
internal/structures/slacktime.go:41
↓ 6 callersMethodSetFocus
SetsFocus focuses one of the datepicker components. This can also be used to blur the datepicker by passing the Focus `FocusNone`.
cmd/slackdump/internal/ui/bubbles/datepicker/datepicker.go:315
↓ 6 callersMethodSetTime
(t time.Time)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:111
↓ 6 callersFunctionStripZipExt
StripZipExt removes the .zip extension from the string.
cmd/slackdump/internal/cfg/zip.go:23
↓ 6 callersMethodTeamID
(g string)
internal/chunk/obfuscate/ids.go:48
↓ 6 callersFunctionTestDB
(t *testing.T)
internal/testutil/db.go:31
↓ 6 callersFunctionWithIncludeFiles
WithIncludeFiles sets the IncludeFiles option.
internal/convert/convert.go:68
↓ 6 callersFunctioncanvasChannelFromFileID
canvasChannelFromFileID derives the dedicated canvas channel ID from a file ID. Valid canvas channels reuse the file suffix with a leading C instead o
internal/edge/canvas.go:55
↓ 6 callersMethodchunkAt
chunkAt returns the chunk at the given offset.
internal/chunk/file.go:525
↓ 6 callersFunctioncopy2trg
copy2trg copies the file from the source path to the target path. Source path is absolute, target path is relative to the target FS adapter root.
internal/convert/filecopy.go:103
↓ 6 callersMethodcreate
create ensures that the channel file is open and the recorder is initialized.
internal/chunk/backend/directory/filetracker.go:54
↓ 6 callersFunctioncreategzfile
(t *testing.T, dir string, name string, contents string)
internal/chunk/filemgr_test.go:66
↓ 6 callersFunctiongetTeamID
getTeamID returns the Slack team ID from the source using a fallback chain: WorkspaceInfo → majority team among users → first public channel's team.
cmd/slackdump/internal/diag/merge.go:216
↓ 6 callersMethodhasMore
hasMore returns true if there are more chunks for the given id.
internal/chunk/player.go:133
← previousnext →301–400 of 4,254, ranked by callers