Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/rusq/slackdump
/ functions
Functions
4,254 in github.com/rusq/slackdump
⨍
Functions
4,254
◇
Types & classes
939
↓ 8 callers
Function
writeEnvFile
(t *testing.T, filename string, m map[string]string)
auth/env_test.go:34
↓ 7 callers
Method
Close
()
internal/convert/filecopy.go:193
↓ 7 callers
Method
CreateAndSelect
(ctx context.Context, p auth.Provider)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:38
↓ 7 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/backend/dbase/repository/mock_repository/mock_message.go:43
↓ 7 callers
Method
Error
()
internal/osext/osext.go:31
↓ 7 callers
Method
GetFileInfoContext
(ctx context.Context, fileID string, count int, page int)
internal/client/client.go:42
↓ 7 callers
Method
GetUserProfileContext
(ctx context.Context, params *slack.GetUserProfileParameters)
internal/client/client.go:51
↓ 7 callers
Method
GetUsersContext
(ctx context.Context, options ...slack.GetUsersOption)
internal/client/client.go:45
↓ 7 callers
Method
Init
()
cmd/slackdump/internal/ui/updaters/filepick_new.go:59
↓ 7 callers
Method
Insert
(ctx context.Context, conn sqlx.ExtContext, s *Session)
internal/chunk/backend/dbase/repository/session.go:71
↓ 7 callers
Function
Int2Time
Int2Time converts an int64 to a time.Time.
internal/fasttime/fasttime.go:68
↓ 7 callers
Function
NewConversation
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 callers
Function
NewExportCoordinator
NewExportCoordinator creates a new ExportCoordinator instance.
internal/convert/transform/export_coordinator.go:97
↓ 7 callers
Function
NewMocktracker
NewMocktracker creates a new mock instance.
internal/chunk/backend/directory/dirproc_mock_test.go:34
↓ 7 callers
Function
OpenChunkDir
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 callers
Function
OptFailOnNonCritError
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 callers
Function
OptResultFn
OptResultFn sets the callback function that is called for each result.
stream/stream.go:155
↓ 7 callers
Function
ParseLink
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 callers
Function
SkipIfNotExist
(t *testing.T, path string)
internal/fixtures/fixtures.go:113
↓ 7 callers
Function
SlackdumpSession
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 callers
Method
Start
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 callers
Method
StartWithUsers
(ctx context.Context, users []slack.User)
internal/chunk/control/interfaces.go:46
↓ 7 callers
Method
Stop
Stop indicates that the auth flow should cleanup and exit, if it is keeping the state.
auth/browser.go:56
↓ 7 callers
Function
String
String asks user to input string, accepts an empty input.
cmd/slackdump/internal/ui/input.go:45
↓ 7 callers
Method
String
()
cmd/slackdump/internal/diag/uninstall.go:84
↓ 7 callers
Function
ToIter
ToIter converts a slice of testResult to an iter.Seq2.
internal/testutil/iter.go:68
↓ 7 callers
Method
Usage
()
cmd/slackdump/internal/golang/base/base.go:149
↓ 7 callers
Method
Wait
Wait closes the transformer.
internal/convert/transform/dump_coordinator.go:64
↓ 7 callers
Function
WithAvatarProcessor
WithAvatarProcessor configures the controller with an avatar downloader.
internal/chunk/control/options.go:54
↓ 7 callers
Function
WithLogger
WithLogger configures the controller with a logger.
internal/chunk/control/options.go:77
↓ 7 callers
Method
allOfTypeWhere
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 callers
Method
debugtrace
(ctx context.Context, fmt string, args ...any)
internal/chunk/backend/directory/conversations.go:243
↓ 7 callers
Method
filepath
filepath returns the full path to the filename of workspace name.
internal/cache/manager.go:376
↓ 7 callers
Function
h
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 7 callers
Function
initNewProject
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 callers
Function
mkindex
(rs io.ReadSeeker)
internal/chunk/file_test.go:733
↓ 7 callers
Function
mockConvInfo
(mc *mock_client.MockSlack, channelID, wantName string)
messages_test.go:336
↓ 7 callers
Function
newRoundRobin
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 callers
Function
parseArgs
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 callers
Function
r
(e)
internal/viewer/static/htmx.min.js:1
↓ 7 callers
Function
readFile
(t *testing.T, root, name string)
internal/convert/html_test.go:354
↓ 7 callers
Function
replaceBinary
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 callers
Function
resultJSON
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 callers
Function
setGlobalFetchFn
(fn fetchFunc)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:51
↓ 7 callers
Function
stringArg
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 callers
Function
t
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 7 callers
Function
toolReq
toolReq builds a CallToolRequest with the given argument map.
internal/mcp/server_test.go:49
↓ 7 callers
Function
tv
(t time.Time)
cmd/slackdump/internal/cfg/timevalue_test.go:25
↓ 7 callers
Function
unmarshalOne
(fsys fs.FS, name string)
source/source.go:269
↓ 7 callers
Function
verifyMessageCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/cleanup_test.go:167
↓ 7 callers
Function
wait
(n int)
internal/network/network.go:61
↓ 6 callers
Method
AllMessages
(ctx context.Context, channelID string)
cmd/slackdump/internal/diag/hydrate.go:199
↓ 6 callers
Method
AuthProvider
(ctx context.Context, workspace string, opts ...auth.Option)
internal/cache/auth.go:140
↓ 6 callers
Function
ChannelFromID
(id string)
internal/structures/conversation.go:73
↓ 6 callers
Method
Channels
Channels should return all channels.
source/source.go:55
↓ 6 callers
Method
Close
Close releases any HTTP transports owned by the client.
internal/client/client.go:159
↓ 6 callers
Method
Close
()
internal/convert/transform/fileproc/avatar.go:51
↓ 6 callers
Method
Close
()
internal/chunk/control/runner_test.go:433
↓ 6 callers
Method
CloseAll
()
internal/chunk/backend/directory/conversations.go:58
↓ 6 callers
Function
DatabaseWithSession
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 callers
Method
Delete
(name string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:40
↓ 6 callers
Method
DisplayName
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 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:148
↓ 6 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_downloader/mock_getfiler.go:40
↓ 6 callers
Method
Error
()
internal/convert/export.go:274
↓ 6 callers
Method
Execute
(c *types.Conversation)
internal/convert/transform/dump.go:40
↓ 6 callers
Function
Exit
()
cmd/slackdump/internal/golang/base/base.go:111
↓ 6 callers
Method
Files
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 callers
Method
GetByIDAndSize
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 callers
Method
GetUsers
(ctx context.Context)
cmd/slackdump/internal/list/users.go:106
↓ 6 callers
Function
Int2TS
Int2TS converts an int64 to a slack timestamp by inserting a dot in the right place.
internal/fasttime/fasttime.go:55
↓ 6 callers
Function
IsInteractive
IsInteractive returns true if the program is running in the interactive terminal.
internal/osext/terminal.go:26
↓ 6 callers
Method
LoadUsers
(teamID string, retention time.Duration)
cmd/slackdump/internal/list/users.go:110
↓ 6 callers
Function
New
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 callers
Function
New
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 callers
Function
NewAliasRepository
()
internal/chunk/backend/dbase/repository/alias.go:42
↓ 6 callers
Function
NewCleanupRepository
()
internal/chunk/backend/dbase/repository/cleanup.go:23
↓ 6 callers
Function
NewErrMissingHandler
(t any)
internal/viewer/renderer/slack.go:206
↓ 6 callers
Function
NewHelp
()
cmd/slackdump/internal/ui/keymap.go:87
↓ 6 callers
Function
NewManager
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 callers
Function
NewMockAvatars
NewMockAvatars creates a new mock instance.
mocks/mock_processor/mock_processor.go:599
↓ 6 callers
Function
NewMockExportTransformer
NewMockExportTransformer creates a new mock instance.
internal/chunk/control/mock_control/mock_interfaces.go:239
↓ 6 callers
Function
NewUserIndex
NewUserIndex creates a new UserIndex from slack Users slice
internal/structures/user_index.go:29
↓ 6 callers
Method
Open
Open opens a chunk file with the given name. Extension is appended automatically.
internal/chunk/directory.go:327
↓ 6 callers
Function
OptLatest
OptLatest sets the latest time to be fetched.
stream/stream.go:148
↓ 6 callers
Function
OptOldest
OptOldest sets the oldest time to be fetched.
stream/stream.go:141
↓ 6 callers
Function
ParseSlackTS
ParseSlackTS parses the slack timestamp.
internal/structures/slacktime.go:41
↓ 6 callers
Method
SetFocus
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 callers
Method
SetTime
(t time.Time)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:111
↓ 6 callers
Function
StripZipExt
StripZipExt removes the .zip extension from the string.
cmd/slackdump/internal/cfg/zip.go:23
↓ 6 callers
Method
TeamID
(g string)
internal/chunk/obfuscate/ids.go:48
↓ 6 callers
Function
TestDB
(t *testing.T)
internal/testutil/db.go:31
↓ 6 callers
Function
WithIncludeFiles
WithIncludeFiles sets the IncludeFiles option.
internal/convert/convert.go:68
↓ 6 callers
Function
canvasChannelFromFileID
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 callers
Method
chunkAt
chunkAt returns the chunk at the given offset.
internal/chunk/file.go:525
↓ 6 callers
Function
copy2trg
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 callers
Method
create
create ensures that the channel file is open and the recorder is initialized.
internal/chunk/backend/directory/filetracker.go:54
↓ 6 callers
Function
creategzfile
(t *testing.T, dir string, name string, contents string)
internal/chunk/filemgr_test.go:66
↓ 6 callers
Function
getTeamID
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 callers
Method
hasMore
hasMore returns true if there are more chunks for the given id.
internal/chunk/player.go:133
← previous
next →
301–400 of 4,254, ranked by callers