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
↓ 4 callers
Method
filename
filename returns the full path of the chunk file with the given fileID.
internal/chunk/directory.go:378
↓ 4 callers
Function
gt
(l,c,e,u,f)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
hn
(n,e)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
isHXRequest
(r *http.Request)
internal/viewer/handlers.go:640
↓ 4 callers
Function
isNonCriticalErr
(e error)
stream/conversation.go:448
↓ 4 callers
Method
items
()
cmd/slackdump/internal/ui/dumpui/dumpui.go:75
↓ 4 callers
Method
logRateLimitInfo
logRateLimitInfo logs GitHub API rate limit information from response headers.
cmd/slackdump/internal/diag/updater/github/github.go:201
↓ 4 callers
Function
makeCacheFilename
makeCacheFilename converts filename.ext to filename-suffix.ext.
internal/cache/cache.go:29
↓ 4 callers
Function
mergeSourceFiles
()
cmd/slackdump/internal/diag/merge_test.go:609
↓ 4 callers
Function
minifyJSON
minifyJSON removes all spaces and newlines from the JSON string.
internal/chunk/backend/dbase/repository/dbmessage_test.go:36
↓ 4 callers
Method
newFileHandler
(fn func(w http.ResponseWriter, r *http.Request, id string))
internal/viewer/handlers.go:629
↓ 4 callers
Function
newThreadCache
(sz int)
source/export_cache.go:86
↓ 4 callers
Method
offsets
offsets returns all offsets for the given id.
internal/chunk/file.go:158
↓ 4 callers
Function
orNil
orNil returns a pointer to the value if cond is true, otherwise nil.
internal/chunk/backend/dbase/split.go:85
↓ 4 callers
Method
pathFunc
pathFunc returns effective path function.
internal/redownload/redownload.go:104
↓ 4 callers
Method
processChannel
(ctx context.Context, ch *slack.Channel, cb func(item *dlItem) error)
internal/redownload/redownload.go:212
↓ 4 callers
Function
prompt
(w io.Writer, prompt string, readlnFn func(*os.File) (string, error))
auth/auth_ui/cli.go:116
↓ 4 callers
Function
rn
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
rt
(e)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
runDedupeAfterFinish
(ctx context.Context, conn *sqlx.DB, dir string, enabled bool)
cmd/slackdump/internal/resume/resume.go:277
↓ 4 callers
Function
runWorkers
runWorkers coordinates the workers that fetch the data from the API and process it. It runs the workers in parallel and waits for all of them to fini
internal/chunk/control/runner.go:120
↓ 4 callers
Function
saveManifest
(manifest)
contrib/replit_drive_backup/drive-upload-folder.mjs:339
↓ 4 callers
Method
saveProvider
saveProvider saves the provider to the file, no questions asked.
internal/cache/manager.go:199
↓ 4 callers
Method
scanChannel
(ctx context.Context, ch *slack.Channel)
internal/redownload/redownload.go:238
↓ 4 callers
Method
scanMsgs
scanMsgs scans messages msgs, calling itself recursively for every thread, collecting all files that are not present on the file system.
internal/redownload/redownload.go:255
↓ 4 callers
Function
seqOf
seqOf returns an iter.Seq2[slack.Message, error] that yields the given messages in order.
internal/mcp/tools_test.go:36
↓ 4 callers
Function
sized
(t *testing.T, m *Model, w, h int)
cmd/slackdump/internal/ui/bubbles/pager/pager_test.go:38
↓ 4 callers
Function
sleepCtx
(ctx context.Context, d time.Duration)
internal/network/network.go:190
↓ 4 callers
Function
testDir
(t *testing.T)
source/chunkdir_test.go:31
↓ 4 callers
Function
testReplyFilePath
()
cmd/slackdump/internal/diag/merge_test.go:733
↓ 4 callers
Function
testTopFilePath
()
cmd/slackdump/internal/diag/merge_test.go:729
↓ 4 callers
Method
thread
thread fetches the whole thread identified by SlackLink, calling callback function fn for each slice received. the callback function will be called if
stream/conversation.go:234
↓ 4 callers
Function
tracelogf
(ctx context.Context, category string, format string, a ...any)
internal/network/network.go:226
↓ 4 callers
Function
tryClose
(errC chan<- error, a any)
internal/chunk/control/runner.go:192
↓ 4 callers
Function
usersTeamID
usersTeamID returns the team ID that the majority of users in src belong to.
cmd/slackdump/internal/diag/merge.go:233
↓ 4 callers
Function
validate
validate ensures that the directory is a Slackdump Archive directory. It sets the exit status according to the error type.
internal/redownload/redownload.go:95
↓ 4 callers
Function
verifyFileCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/dedupe_test.go:582
↓ 4 callers
Function
verifyWorkspaces
verifyWorkspaces opens target and all sources to verify they belong to the same Slack workspace. All handles are closed before returning.
cmd/slackdump/internal/diag/merge.go:144
↓ 4 callers
Function
withRetry
(label, fn)
contrib/replit_drive_backup/drive-upload-folder.mjs:122
↓ 3 callers
Method
Add
(n int)
internal/primitive/counter.go:26
↓ 3 callers
Method
AddTool
AddTool adds an additional tool to the MCP server. This can be called after New but before serving starts. It is intended for CLI-layer tools that h
internal/mcp/server.go:254
↓ 3 callers
Method
All
(ctx context.Context, conn sqlx.QueryerContext)
internal/chunk/backend/dbase/repository/alias.go:35
↓ 3 callers
Method
Apply
Apply applies differing values from other Options. It only affects API-limits related values.
internal/network/limits.go:131
↓ 3 callers
Method
AsThreadID
asThreadID returns the channelID and threadTS from the GroupID. If the GroupID is not a thread ID, it returns false.
internal/chunk/chunk.go:222
↓ 3 callers
Method
Avatar
(userID, filename string)
internal/viewer/renderer/routes.go:129
↓ 3 callers
Function
Avatars
()
cmd/slackdump/internal/ui/cfgui/common_params.go:65
↓ 3 callers
Function
BrowserWithTimeout
(d time.Duration)
auth/option.go:54
↓ 3 callers
Function
BrowserWithWorkspace
(name string)
auth/option.go:42
↓ 3 callers
Method
CacheUsers
(teamID string, users []slack.User)
cmd/slackdump/internal/list/users.go:111
↓ 3 callers
Method
CanvasThreadRoots
CanvasThreadRoots returns the root messages for all comment threads on a canvas file. fileID is the Slack file ID, for example F06R4HA3ZS8.
internal/edge/canvas.go:103
↓ 3 callers
Method
ChannelID
(c string)
internal/chunk/obfuscate/ids.go:46
↓ 3 callers
Function
ChannelIDs
Common reusable parameters
cmd/slackdump/internal/ui/cfgui/common_params.go:29
↓ 3 callers
Method
ChannelInfo
ChannelInfo is called for each channel that is retrieved. ChannelInfo will be called for each direct thread link, and in this case, threadID will be
processor/processor.go:41
↓ 3 callers
Function
ChannelTypes
()
cmd/slackdump/internal/ui/cfgui/common_params.go:83
↓ 3 callers
Method
ChannelUsers
(channelID string)
internal/chunk/file.go:317
↓ 3 callers
Function
CheckFile
(filename string)
cmd/slackdump/internal/apiconfig/check.go:66
↓ 3 callers
Function
ChunkFileJSONL
ChunkFileJSONL returns a reader for the chunks.jsonl.gz file.
internal/fixtures/chunk.go:53
↓ 3 callers
Method
ClientUserBoot
ClientUserBoot calls the client.userBoot API.
internal/edge/client_boot.go:40
↓ 3 callers
Method
Close
()
slackdump_test.go:44
↓ 3 callers
Method
Close
()
source/chunkdir_test.go:46
↓ 3 callers
Method
Close
Close invokes the transformer's StartWithUsers method if it collected any users.
internal/chunk/control/processors.go:53
↓ 3 callers
Function
Confirm
(msg string, _ bool, opt ...Option)
cmd/slackdump/internal/ui/confirm.go:22
↓ 3 callers
Method
Conversation
Conversation writes the conversation to the writer.
internal/format/format.go:73
↓ 3 callers
Method
ConversationsGenericInfo
(ctx context.Context, channelID ...string)
internal/edge/conversations.go:42
↓ 3 callers
Function
Current
Current returns the current workspace in the directory dir, based on the configuration values. If cfg.Workspace is set, it checks if the workspace cf
cmd/slackdump/internal/workspace/workspace.go:124
↓ 3 callers
Method
Download
Download requires a started downloader, otherwise it will return ErrNotStarted. Will place the file to the download queue.
downloader/downloader.go:340
↓ 3 callers
Method
Download
Download should download the file at the given URL and save it to the given path.
internal/convert/transform/fileproc/fileproc.go:40
↓ 3 callers
Function
DumpFilepath
DumpFilepath returns the path to the file within the channel directory.
source/filestorage.go:101
↓ 3 callers
Function
DumpWithLogger
(log *slog.Logger)
internal/convert/transform/dump.go:57
↓ 3 callers
Function
DumpWithPipeline
DumpWithPipeline adds a pipeline function to the transformer, that will be called for each message slice, before it is written to the filesystem.
internal/convert/transform/dump.go:51
↓ 3 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:606
↓ 3 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_cache/mock_cache.go:99
↓ 3 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/convert/mock_convert/mock_copier.go:39
↓ 3 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/control/mock_control/mock_interfaces.go:246
↓ 3 callers
Method
Err
()
cmd/slackdump/internal/workspace/list_format.go:51
↓ 3 callers
Function
ExpWithMsgUpdateFunc
(fn ...func(*slack.Channel, *slack.Message) error)
internal/convert/transform/export.go:40
↓ 3 callers
Function
ExportChanName
ExportChanName returns the channel name, or the channel ID if it is a DM.
source/export.go:390
↓ 3 callers
Method
FileInfo
(name string)
cmd/slackdump/internal/workspace/workspace.go:83
↓ 3 callers
Function
G
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
Get
(ctx context.Context, conn sqlx.ExtContext, id int64)
internal/chunk/backend/dbase/repository/session.go:123
↓ 3 callers
Method
GetOrLoad
(ctx context.Context, k K, loader func(ctx context.Context, k K) (V, error))
source/export_cache.go:28
↓ 3 callers
Method
GetUsersPaginated
(options ...slack.GetUsersOption)
internal/client/client.go:47
↓ 3 callers
Function
Gn
(e)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
HTTPClient
Client returns an authenticated HTTP client
auth/auth.go:54
↓ 3 callers
Function
HasExcludePrefix
(s string)
internal/structures/entity_list.go:106
↓ 3 callers
Method
HasIncludes
HasIncludes returns true if there's any included entities.
internal/structures/entity_list.go:324
↓ 3 callers
Function
IncludeCustomLabels
()
cmd/slackdump/internal/ui/cfgui/common_params.go:117
↓ 3 callers
Method
Init
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:102
↓ 3 callers
Function
IsDocker
IsDocker returns true if the process is running in a docker container.
internal/osext/osext.go:55
↓ 3 callers
Function
IsMember
IsMember returns true if the user is a member of a given Slack Channel.
internal/structures/conversation.go:78
↓ 3 callers
Function
IsSlackResponseError
IsSlackResponseError returns true if the following conditions are met: - error is of [slack.SlackErrorResponse] type; AND - e.Err field equal to the s
internal/structures/errors.go:29
↓ 3 callers
Function
IsValidSlackURL
IsValidSlackURL returns true if the value looks like valid Slack URL, false if not.
internal/structures/url_parse.go:149
↓ 3 callers
Function
IsValidWithReason
(f *slack.File)
internal/convert/transform/fileproc/fileproc.go:142
↓ 3 callers
Function
Je
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Function
Jn
(e,n,r)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Function
JoinUsers
JoinUsers joins multiple Users processors into one.
processor/processor.go:133
↓ 3 callers
Function
KeyDownBinding
()
cmd/slackdump/internal/ui/keymap.go:63
↓ 3 callers
Function
KeyQuitBinding
()
cmd/slackdump/internal/ui/keymap.go:83
↓ 3 callers
Function
KeyUpBinding
()
cmd/slackdump/internal/ui/keymap.go:59
↓ 3 callers
Function
L
(e)
internal/viewer/static/htmx.min.js:1
← previous
next →
601–700 of 4,254, ranked by callers