MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 3 callersFunctioncollect
(it iter.Seq2[T, error], sz int)
internal/convert/transform/dump.go:139
↓ 3 callersFunctioncollect
(it iter.Seq2[D, error], sz int)
internal/chunk/backend/dbase/source.go:261
↓ 3 callersMethodcollect
(ctx context.Context, mm []slack.Message)
internal/chunk/control/processors.go:282
↓ 3 callersFunctioncompareVersions
compareVersions compares two semantic version strings. Returns: -1 if v1 < v2 0 if v1 == v2 +1 if v1 > v2 Handles versions like "2.9.0" vs "2.10
cmd/slackdump/internal/diag/updater/platform/platform.go:206
↓ 3 callersFunctionconvertMessages
(cm []types.Message)
source/dump.go:193
↓ 3 callersMethodcountTypeWhere
(ctx context.Context, conn sqlx.QueryerContext, qp queryParams, typeID ...chunk.ChunkType)
internal/chunk/backend/dbase/repository/generic.go:212
↓ 3 callersFunctiondateStyles
(theme ui.Theme, focused bool)
cmd/slackdump/internal/ui/updaters/date.go:62
↓ 3 callersFunctiondefaultOpts
()
cmd/slackdump/internal/ui/ui.go:38
↓ 3 callersFunctiondirnames
(des []fs.DirEntry)
cmd/slackdump/internal/diag/info/info.go:117
↓ 3 callersMethoddump
(ctx context.Context, sl structures.SlackLink, oldest, latest time.Time, processFn ...ProcessFunc)
messages.go:79
↓ 3 callersMethodenc
(w io.Writer)
internal/format/json.go:81
↓ 3 callersFunctionencodeMessages
(ctx context.Context, rec processor.Conversations, src source.Sourcer, ch *slack.Channel)
internal/convert/src2enc.go:160
↓ 3 callersFunctionerrEmitter
errEmitter returns a function that sends the error to the error channel.
internal/chunk/control/processors.go:216
↓ 3 callersFunctionfetchUsers
(ctx context.Context, ug userGetter, m userCacher, skipCache bool, teamID string)
cmd/slackdump/internal/list/users.go:114
↓ 3 callersMethodfileHandler
── Remaining HTTP-only handlers ─────────────────────────────────────────────
internal/viewer/handlers.go:377
↓ 3 callersMethodfinalise
finalise closes the channel file if there are no more threads to process.
internal/chunk/backend/directory/conversations.go:192
↓ 3 callersMethodfind
(id string)
internal/viewer/viewer.go:222
↓ 3 callersMethodfirstChunkForID
firstChunkForID returns the first chunk in the file for the given id.
internal/chunk/file.go:335
↓ 3 callersFunctionfltSeen
fltSeen filters the files from filesC to ensure that no duplicates are downloaded.
downloader/downloader.go:208
↓ 3 callersMethodgetChannelName
(ctx context.Context, l *rate.Limiter, channelID string)
messages.go:181
↓ 3 callersMethodgetChannels
getChannels list all channels for a user. `chanTypes` specifies the type of messages to fetch. See github.com/rusq/slack docs for possible values.
channels.go:127
↓ 3 callersMethodgetConversationsContext
(ctx context.Context, p *slack.GetConversationsParameters, onlyMy bool)
internal/edge/slacker.go:205
↓ 3 callersMethodgetErr
()
internal/convert/transform/export_coordinator.go:200
↓ 3 callersFunctiongetMessage
getMessage returns a single message from the repository.
internal/chunk/backend/dbase/assemble.go:117
↓ 3 callersFunctionhash
hash returns a hex encoded sha1 hash of the string.
internal/chunk/filemgr.go:56
↓ 3 callersMethodhelpText
helpText returns the help text for the wizard: the Help field, if set, otherwise the long help of the command.
cmd/slackdump/internal/ui/dumpui/dumpui.go:65
↓ 3 callersMethodinitWorkspaceInfo
initWorkspaceInfo gets from the API and sets the workspace information for the session.
slackdump.go:161
↓ 3 callersMethodinsertChannels
(ctx context.Context, tx repository.PrepareExtContext, dbchunkID int64, channels []slack.Channel)
internal/chunk/backend/dbase/split.go:233
↓ 3 callersFunctioninsertMessageInChannelWithChunkForTest
(t *testing.T, db *sqlx.DB, msgID, chunkID int64, channelID string, data []byte)
internal/chunk/backend/dbase/repository/cleanup_test.go:142
↓ 3 callersFunctioninstructions
instructions returns the server instructions that describe the data source to the connecting agent. When src is nil (no source loaded yet) a generic
internal/mcp/server.go:138
↓ 3 callersFunctionisJSONTypeErr
(err error)
cmd/slackdump/internal/format/dump.go:134
↓ 3 callersFunctionjoinOnColumns
(left, right string, cols []string)
internal/chunk/backend/dbase/repository/dedupe.go:385
↓ 3 callersFunctionkn
(o)
internal/viewer/static/htmx.min.js:1
↓ 3 callersFunctionln
(t,e,n)
internal/viewer/static/htmx.min.js:1
↓ 3 callersFunctionloadCreds
loadCreds loads the encrypted credentials from the file.
internal/cache/auth.go:250
↓ 3 callersMethodloadSource
loadSource closes the current source (if any) and replaces it with next. It holds the write-lock for the duration of the swap.
internal/mcp/server.go:179
↓ 3 callersFunctionmakeFakeNode
(t *testing.T, dir string, mode fs.FileMode)
auth/browser/client_test.go:102
↓ 3 callersFunctionmakeFilename
makeFilename makes a filename for the given prefix, teamID and listType for channels and users.
cmd/slackdump/internal/list/common.go:204
↓ 3 callersFunctionmakeValidator
makeValidator creates a validator function that uses the newProvFn to create a new provider and test it. newProvFn should be a function that creates
cmd/slackdump/internal/workspace/workspaceui/tokencookie.go:87
↓ 3 callersFunctionmarshalFormatted
marshalFormatted writes the data to the filesystem in a formatted way.
internal/convert/transform/dump.go:234
↓ 3 callersFunctionmaybeFixExt
maybeFixExt checks if the extension is one of .toml or .tml, and if not appends it to the file.
cmd/slackdump/internal/apiconfig/new.go:100
↓ 3 callersMethodmbeTransform
(ctx context.Context, channelID, threadID string, threadOnly bool)
internal/chunk/control/processors.go:96
↓ 3 callersFunctionmgrOpts
()
cmd/slackdump/internal/workspace/workspace.go:175
↓ 3 callersFunctionmigrate
(ctx context.Context, path string)
internal/chunk/backend/dbase/source.go:145
↓ 3 callersMethodmkwriter
(w io.Writer)
internal/format/csv.go:213
↓ 3 callersFunctionmsgsender
(m slack.Message)
internal/viewer/template.go:121
↓ 3 callersFunctionmust
(t T, err error)
cmd/slackdump/internal/diag/info/auth_windows.go:35
↓ 3 callersFunctionn
()
internal/viewer/static/htmx.min.js:1
↓ 3 callersMethodnameByID
nameByID returns a channel name (directory name) by the channelID. It ensures that the directory exists. It will return ErrNotFound if it doesn't find
source/export.go:283
↓ 3 callersFunctionnewAuthenticator
(cacheDir string, opt ...authOption)
internal/cache/auth.go:163
↓ 3 callersFunctionnewBindAddFn
(buf *strings.Builder, binds *[]any)
internal/chunk/backend/dbase/repository/repository.go:57
↓ 3 callersFunctionnewErrNoWorkspace
(name string)
internal/cache/manager.go:223
↓ 3 callersFunctionnewObfuscator
(rng *rand.Rand)
internal/chunk/obfuscate/obfuscate.go:56
↓ 3 callersFunctionnewTestCache
()
source/export_cache_test.go:65
↓ 3 callersFunctionobjtype
(name string)
cmd/slackdump/internal/diag/obfuscate.go:68
↓ 3 callersMethodoffsetTimestamps
offsetTimestamp returns a map of the chunk offset to the message timestamps it contains.
internal/chunk/file.go:404
↓ 3 callersMethodopenRAW
(filename string)
internal/chunk/directory.go:342
↓ 3 callersFunctionopenTempFS
()
slackdump_test.go:158
↓ 3 callersFunctionorZero
(t *T)
internal/chunk/backend/dbase/repository/dbchunk.go:46
↓ 3 callersFunctionparseBrewVersion
parseBrewVersion extracts the version from brew info JSON output.
cmd/slackdump/internal/diag/updater/platform/platform.go:177
↓ 3 callersFunctionpipelineFlags
(chanTypes []string)
internal/edge/slacker.go:174
↓ 3 callersFunctionplannedSteps
(chanTypes []string)
internal/edge/slacker.go:153
↓ 3 callersFunctionprepareDir
(t *testing.T, dir string)
internal/cache/manager_test.go:68
↓ 3 callersFunctionprocFiles
procFiles processes the files in slice of Messages msgs.
stream/conversation.go:391
↓ 3 callersFunctionproxyJson
(urlPath, options = {})
contrib/replit_drive_backup/drive-upload-folder.mjs:109
↓ 3 callersFunctionpt
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 3 callersFunctionpwWrongNodePerms
pwWrongNodePerms checks if the playwright installation is in a known problematic state, and if yes, return nil. If the problem is unknown, returns an
auth/browser/client.go:291
↓ 3 callersFunctionqs
(selector, root)
internal/viewer/static/viewer.js:6
↓ 3 callersFunctionqsa
(selector, root)
internal/viewer/static/viewer.js:10
↓ 3 callersFunctionreadFS
(fsys fs.FS, dir string, globs ...string)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:115
↓ 3 callersFunctionreadManifest
readManifest reads and parses layout.json from layoutFS.
cmd/slackdump/internal/mcp/mcp.go:221
↓ 3 callersMethodrecorder
(r io.Reader)
internal/edge/edge.go:384
↓ 3 callersFunctionrestoreMergeGlobals
(t *testing.T)
cmd/slackdump/internal/diag/merge_test.go:506
↓ 3 callersFunctionrunArchiveAndCleanup
(ctx context.Context, runner archiveRunner, latest *structures.EntityList, conn *sqlx.DB, dir string, dedupeEn
cmd/slackdump/internal/resume/resume.go:264
↓ 3 callersFunctionrunConvert
(ctx context.Context, cmd *base.Command, args []string)
cmd/slackdump/internal/convertcmd/convert.go:90
↓ 3 callersFunctionrunMerge
(ctx context.Context, cmd *base.Command, args []string)
cmd/slackdump/internal/diag/merge.go:84
↓ 3 callersFunctionrunSearch
(ctx context.Context, cmd *base.Command, args []string, typ control.SearchType)
cmd/slackdump/internal/archive/search.go:108
↓ 3 callersFunctionsaveNow
()
contrib/replit_drive_backup/drive-upload-folder.mjs:412
↓ 3 callersMethodsaveUsers
saveUsers 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/usercache.go:47
↓ 3 callersFunctionsendResult
(ctx context.Context, resultC chan<- result, res result)
cmd/slackdump/internal/emoji/emojidl/emoedge.go:234
↓ 3 callersFunctionsetConvertTestGlobals
(t *testing.T, output string, format datafmt)
cmd/slackdump/internal/convertcmd/convert_test.go:122
↓ 3 callersFunctionshowConnectionError
(message)
internal/viewer/static/viewer.js:54
↓ 3 callersMethodstartWorkers
startWorkers starts download workers. It returns a sync.WaitGroup. If the req channel is closed, workers will stop, and wg.Wait() completes.
downloader/downloader.go:182
↓ 3 callersMethodstmtInsert
stmtInsert returns the insert statement for entity of type T. The values are unimportant, only column names are used.
internal/chunk/backend/dbase/repository/generic.go:88
↓ 3 callersMethodstmtLatestWhere
stmtLatestWhere returns the statement that selects the latest chunk for entity.
internal/chunk/backend/dbase/repository/generic.go:113
↓ 3 callersFunctionstuffProcWithFiles
(mp *mock_processor.MockConversations, ch *slack.Channel, mm []slack.Message)
stream/conversation_test.go:220
↓ 3 callersFunctiontestChannelsChunk
(channels ...slack.Channel)
cmd/slackdump/internal/diag/merge_test.go:566
↓ 3 callersFunctiontestEmojiC
(emojis []edge.Emoji, wantClosed bool)
cmd/slackdump/internal/emoji/emojidl/emoji_test.go:141
↓ 3 callersFunctiontestRootMessage
()
cmd/slackdump/internal/diag/merge_test.go:680
↓ 3 callersFunctiontestServer
(status int, payload []byte)
internal/edge/edge_test.go:42
↓ 3 callersMethodthreadHandler
(w http.ResponseWriter, r *http.Request, id string)
internal/viewer/handlers.go:206
↓ 3 callersMethodunregister
unregister is an internal function that closes and removes the file from tracking without locking the mutex.
internal/chunk/backend/directory/filetracker.go:81
↓ 3 callersFunctionvalidateDBPath
validateDBPath checks if path is a directory and returns a helpful error with a suggestion if the expected database file exists inside.
internal/chunk/backend/dbase/source.go:60
↓ 3 callersFunctionverifyChannelUserCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/dedupe_test.go:574
↓ 3 callersFunctionverifyMessageChunkForTest
(t *testing.T, db *sqlx.DB, msgID, expectedChunkID int64)
internal/chunk/backend/dbase/repository/dedupe_test.go:510
↓ 3 callersFunctionverifySessionCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/cleanup_test.go:151
↓ 3 callersFunctionverifyUserCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/dedupe_test.go:558
↓ 3 callersMethodview
()
cmd/slackdump/internal/ui/bubbles/menu/model.go:200
↓ 3 callersMethodwalkChannelMessages
(ctx context.Context, name string)
source/export.go:296
↓ 3 callersFunctionwe
(t,n)
internal/viewer/static/htmx.min.js:1
← previousnext →801–900 of 4,254, ranked by callers