Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rusq/slackdump
/ functions
Functions
4,254 in github.com/rusq/slackdump
⨍
Functions
4,254
◇
Types & classes
939
↓ 2 callers
Method
insertSearchMessages
(ctx context.Context, tx repository.PrepareExtContext, dbchunkID int64, _ string, mm []slack.SearchMessage)
internal/chunk/backend/dbase/split.go:266
↓ 2 callers
Method
insertUsers
insertUsers inserts users into the database using the connection tx. Depending on the options it will insert all or only new or updated users.
internal/chunk/backend/dbase/split.go:218
↓ 2 callers
Method
insertWorkspaceInfo
(ctx context.Context, tx repository.PrepareExtContext, dbchunkID int64, info *slack.AuthTestResponse)
internal/chunk/backend/dbase/split.go:161
↓ 2 callers
Function
intArg
intArg extracts a named int argument from a tool call request. The MCP protocol serialises numbers as float64, so we convert accordingly.
internal/mcp/server.go:300
↓ 2 callers
Function
isDumpJSONFile
(name string)
source/dump.go:127
↓ 2 callers
Method
isLastPage
()
internal/edge/emoji.go:64
↓ 2 callers
Function
isRecoverable
isRecoverable returns true if the status code is a recoverable error.
internal/network/network.go:202
↓ 2 callers
Function
isTerm
(name string)
cmd/slackdump/internal/diag/obfuscate.go:137
↓ 2 callers
Function
je
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
ke
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
keyRune
(r rune)
cmd/slackdump/internal/ui/cfgui/model_test.go:153
↓ 2 callers
Function
latest
(ctx context.Context, src source.Resumer, includeThreads bool, skipCompleteThreads bool, lookBack time.Duratio
cmd/slackdump/internal/resume/resume.go:294
↓ 2 callers
Function
list
(ctx context.Context, m manager, formatter formatFunc)
cmd/slackdump/internal/workspace/list.go:78
↓ 2 callers
Function
list
(ctx context.Context, sess *slackdump.Session, l lister[T], filename string)
cmd/slackdump/internal/list/common.go:110
↓ 2 callers
Function
listArgsFn
(teamID string, prefix string)
cmd/slackdump/internal/list/wizard.go:52
↓ 2 callers
Method
listChannels
(ctx context.Context, proc processor.Channels, p *slack.GetConversationsParameters, fn func(context.Context, *
stream/stream.go:289
↓ 2 callers
Method
listFiles
List returns the list of workspace files with full path.
internal/cache/manager.go:255
↓ 2 callers
Function
load
load loads the data from the file in the cache directory, and returns the data as a slice of T.
internal/cache/cache.go:132
↓ 2 callers
Function
load
(t *testing.T, s string)
internal/viewer/renderer/slack_fixtures_test.go:35
↓ 2 callers
Function
loadSecrets
loadSecrets load secrets from the files in secrets slice.
cmd/slackdump/main.go:259
↓ 2 callers
Function
loadStorage
loadStorage determines the type of the file storage used and initialises appropriate Storage implementation.
source/export.go:88
↓ 2 callers
Method
loadUsers
loadUsers tries to load the users from the file. If the file does not exist or is older than maxAge, it returns an error.
internal/cache/usercache.go:37
↓ 2 callers
Function
marshalFileFSA
(fs fsadapter.FS, filename string, data any)
internal/structures/index.go:221
↓ 2 callers
Function
maybeAppendExt
maybeAppendExt appends the extension to the filename if it's empty.
internal/cache/manager.go:125
↓ 2 callers
Function
maybeAppendExt
maybeAppendExt adds a filename extension ext if the filename has missing, or a different extension.
cmd/slackdump/internal/apiconfig/new.go:109
↓ 2 callers
Function
maybeprint
(v any)
internal/viewer/renderer/slack.go:164
↓ 2 callers
Method
mbeTransformChannel
(ctx context.Context, channelID string)
internal/chunk/control/processors.go:106
↓ 2 callers
Method
mbeTransformThread
(ctx context.Context, channelID string, threadID string)
internal/chunk/control/processors.go:124
↓ 2 callers
Function
messageSeq
(mm []slack.Message)
internal/viewer/alias_test.go:121
↓ 2 callers
Function
messageSeq
(mm []slack.Message)
internal/convert/html_test.go:375
↓ 2 callers
Method
messageTimestamps
()
internal/chunk/chunk.go:257
↓ 2 callers
Method
mkSuperprocessor
(ctx context.Context, rec *chunk.Recorder, conv processor.Conversations)
internal/chunk/control/control.go:96
↓ 2 callers
Function
mostFrequentMember
mostFrequentMember attempts to identify the current user in the index. It uses the DMs of the index. If DMs are empty, or it's unable to identify the
internal/structures/index.go:270
↓ 2 callers
Function
mustLoadSource
(t *testing.T, path string)
cmd/slackdump/internal/diag/merge_test.go:537
↓ 2 callers
Method
newAccumulator
(ctx context.Context, channel *slack.Channel)
internal/convert/transform/export.go:219
↓ 2 callers
Function
newChanFilter
newChanFilter creates a new channel filter.
internal/chunk/control/processors.go:152
↓ 2 callers
Function
newConfirmForm
()
cmd/slackdump/internal/ui/updaters/filepick_new.go:43
↓ 2 callers
Method
newConvTransformer
newConvTransformer creates a new conversation transformer.
internal/chunk/control/control.go:59
↓ 2 callers
Function
newGenerator
(s Streamer, p superprocessor, flags Flags, list *structures.EntityList)
internal/chunk/control/runner.go:94
↓ 2 callers
Function
newProgramWrap
(m *Model)
cmd/slackdump/internal/ui/cfgui/cfgui.go:32
↓ 2 callers
Function
newSlackClient
newSlackClient is a shared helper that dials Slack and runs an auth-test.
internal/client/client.go:96
↓ 2 callers
Method
newUserCollector
helpers newUserCollector creates a new user collector.
internal/chunk/control/options.go:88
↓ 2 callers
Function
newUserIter
newUserIter returns an iterator that will emit only new or updated users. TODO: It may be desirable to write a test for this.
internal/chunk/backend/dbase/split.go:190
↓ 2 callers
Method
next
next returns the next item in the pool.
internal/client/strategy.go:22
↓ 2 callers
Method
nextPage
()
internal/edge/emoji.go:68
↓ 2 callers
Function
normalizeOutput
(format datafmt, output string)
cmd/slackdump/internal/convertcmd/convert.go:126
↓ 2 callers
Function
nt
(r,o,i)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
nvl
(s string)
cmd/slackdump/internal/ui/cfgui/model.go:263
↓ 2 callers
Function
obfuscate
(ctx context.Context, obf obfuscator, w io.Writer, r io.Reader)
internal/chunk/obfuscate/obfuscate.go:82
↓ 2 callers
Function
openTestZip
(t *testing.T, name string)
source/export_test.go:39
↓ 2 callers
Method
parseRelease
(resp *http.Response)
cmd/slackdump/internal/diag/updater/github/github.go:123
↓ 2 callers
Function
parseRetryAfter
(resp *http.Response)
internal/edge/edge.go:328
↓ 2 callers
Function
parseSlackMd
(s string)
internal/viewer/renderer/slack_text_parser.go:20
↓ 2 callers
Function
pipeAndUpdateFiles
pipeAndUpdateFiles scans the messages and sends all the files discovered to the filesC.
processors.go:120
↓ 2 callers
Function
pipeTestSuite
(t *testing.T, msgs []types.Message, dir string)
processors_test.go:101
↓ 2 callers
Function
pleaseWait
(ctx context.Context, msg string)
auth/auth.go:156
↓ 2 callers
Method
populate
(files []fs.FileInfo)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:191
↓ 2 callers
Method
populateThreads
populateThreads scans the message slice for threads, if it discovers the message with ThreadTimestamp, it calls the dumpFn on it. dumpFn should return
thread.go:79
↓ 2 callers
Function
printConfigOK
printConfigOK outputs the confirmation message to the user.
cmd/slackdump/internal/apiconfig/new.go:74
↓ 2 callers
Method
printDebug
(w io.Writer)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:347
↓ 2 callers
Function
printProgress
()
contrib/replit_drive_backup/drive-upload-folder.mjs:441
↓ 2 callers
Function
print_msg
print_message prints the message ``m``, indenting the line with ``indent``
contrib/messages_json_parsing/python/print_messages.py:22
↓ 2 callers
Method
procChanMsg
procChanMsg processes the message slice mm, for each threaded message, it sends the thread request on threadC. It returns thread count in the mm and
stream/conversation.go:329
↓ 2 callers
Method
procChannelInfo
procChannelInfo fetches the channel info and passes it to the processor.
stream/conversation.go:406
↓ 2 callers
Function
procThreadMsg
(ctx context.Context, proc processor.Conversations, channel *slack.Channel, threadTS string, threadOnly bool,
stream/conversation.go:368
↓ 2 callers
Function
processLink
processLink parses the link and sends it to the appropriate output channel.
stream/conversation.go:156
↓ 2 callers
Function
profileTargetID
(m slack.Message)
internal/viewer/template.go:202
↓ 2 callers
Function
proxyRequest
(urlPath, options = {})
contrib/replit_drive_backup/drive-upload-folder.mjs:105
↓ 2 callers
Method
prunableChunkIDs
(ctx context.Context, db sqlx.QueryerContext, entity dedupeEntity)
internal/chunk/backend/dbase/repository/dedupe.go:244
↓ 2 callers
Function
pwRepair
pwRepair attempts to repair the playwright installation.
auth/browser/client.go:242
↓ 2 callers
Function
qe
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
qrCharLimit
qrCharLimit returns the effective character limit for the QR code input field.
auth/auth_ui/huh.go:293
↓ 2 callers
Function
queryxContext
(ctx context.Context, db sqlx.QueryerContext, stmt string, args ...any)
internal/chunk/backend/dbase/repository/dedupe.go:417
↓ 2 callers
Function
randString
(n int)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:260
↓ 2 callers
Function
rawDump
(w io.Writer, cl *http.Client, ep string, v url.Values)
cmd/slackdump/internal/diag/rawoutput.go:173
↓ 2 callers
Function
readEntityIndex
readEntityList is a rather naïve implementation that reads the entire file up to maxEntries entities (empty lines are skipped), and populates the slic
internal/structures/entity_list.go:211
↓ 2 callers
Method
readWsp
readWsp reads the workspace file name from the reader.
internal/cache/manager.go:394
↓ 2 callers
Method
record
(b []byte)
internal/edge/edge.go:246
↓ 2 callers
Function
reinstall
(runopts *playwright.RunOptions)
auth/browser/client.go:263
↓ 2 callers
Function
relativePrefix
(outputPath string)
internal/convert/html.go:293
↓ 2 callers
Method
removeDoubleDots
(uri string)
internal/convert/transform/fileproc/avatar.go:65
↓ 2 callers
Function
removeFunc
(dry bool)
cmd/slackdump/internal/diag/uninstall.go:159
↓ 2 callers
Method
renderAttachment
(ctx context.Context, buf *strings.Builder, msgTS string, a slack.Attachment)
internal/viewer/renderer/slack.go:147
↓ 2 callers
Function
replaceOnWindows
replaceOnWindows handles binary replacement on Windows by creating a batch script that will replace the executable after the current process exits. Th
cmd/slackdump/internal/diag/updater/autoupdate.go:441
↓ 2 callers
Function
resolveDBPath
resolveDBPath resolves the database file, name, and optional storages for the given path, which may be either a direct database file or a directory.
source/database.go:56
↓ 2 callers
Function
resultLogger
(lg *slog.Logger)
cmd/slackdump/internal/archive/archive.go:341
↓ 2 callers
Method
rndstr
rndstr returns a random string of length base+add.
internal/chunk/obfuscate/obfuscate.go:264
↓ 2 callers
Function
runProcessFuncs
runProcessFuncs runs processFn sequentially and return results of execution.
processors.go:74
↓ 2 callers
Function
runSearch
(ctx context.Context, s Streamer, sp supersearcher, stype SearchType, query string)
internal/chunk/control/runner.go:360
↓ 2 callers
Function
safeAnchorID
(s string)
internal/viewer/template.go:206
↓ 2 callers
Function
save
save saves the users to a file, naming the file based on the filename and the suffix. The file will be saved in the cache directory.
internal/cache/cache.go:98
↓ 2 callers
Function
save
(filename string, r any)
cmd/slackdump/internal/diag/edge.go:177
↓ 2 callers
Method
saveChannels
saveChannels saves channels to a file, naming the file based on the filename and the suffix. The file will be saved in the dirname.
internal/cache/channelcache.go:36
↓ 2 callers
Function
sayBool
(b bool)
cmd/slackdump/internal/bootstrap/files_test.go:26
↓ 2 callers
Function
searchFileWorker
(ctx context.Context, s Streamer, sf processor.FileSearcher, query string)
internal/chunk/control/workers.go:69
↓ 2 callers
Function
searchMsgWorker
(ctx context.Context, s Streamer, ms processor.MessageSearcher, query string)
internal/chunk/control/workers.go:59
↓ 2 callers
Method
selectDefault
selectDefault selects the default workspace if it exists.
internal/cache/manager.go:292
↓ 2 callers
Method
selected
()
cmd/slackdump/internal/diag/uninstall.go:62
↓ 2 callers
Function
seqErr
seqErr returns an iter.Seq2 that immediately yields an error.
internal/mcp/tools_test.go:47
↓ 2 callers
Method
set
set sets the channel info in the cache under the respective key.
stream/cache.go:25
← previous
next →
1,201–1,300 of 4,254, ranked by callers