MCPcopy Index your code

hub / github.com/rusq/slackdump / functions

Functions4,254 in github.com/rusq/slackdump

↓ 6 callersFunctionhe
(t,n,r,o,i,k)
internal/viewer/static/htmx.min.js:1
↓ 6 callersFunctionid
(prefix string, ids ...string)
internal/chunk/chunk.go:195
↓ 6 callersFunctionloser
(err error)
cmd/slackdump/internal/diag/info/info.go:127
↓ 6 callersFunctionmakeCookie
(key, val string)
auth/value.go:93
↓ 6 callersFunctionmergeSource
mergeSource copies all data from src into a new session in the target database. Files and avatars are copied when the corresponding flags are true an
cmd/slackdump/internal/diag/merge.go:286
↓ 6 callersFunctionmkThreadSetupFn
mkThreadSetupFn creates a utility function that sets up the thread messages. It accepts the channelID that will be populated on the chunks, and the ar
internal/chunk/backend/dbase/repository/dbmessage_test.go:551
↓ 6 callersMethodnext
next tries to get the next chunk for the given id. It returns io.EOF if there are no more chunks for the given id.
internal/chunk/player.go:74
↓ 6 callersFunctionprepTestChunk
(c ...*chunk.Chunk)
internal/chunk/backend/dbase/source_test.go:414
↓ 6 callersMethodsource
source returns the current source under a read-lock. Returns nil when no source has been loaded.
internal/mcp/server.go:171
↓ 6 callersFunctionsuccess
(ctx context.Context, workspace string)
cmd/slackdump/internal/workspace/workspaceui/dialogs.go:43
↓ 6 callersFunctionue
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 6 callersMethoduserkey
userkey should return the user key columns. User key is the key that uniquely identifies the logical entity, and is usually a part of primary key, ex
internal/chunk/backend/dbase/repository/dbobject.go:26
↓ 6 callersFunctionv
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunction$t
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersMethodAllThreadMessages
(ctx context.Context, channelID, threadTimestamp string)
cmd/slackdump/internal/diag/hydrate.go:200
↓ 5 callersMethodAuth
(ctx context.Context, name string, c cache.Credentials)
cmd/slackdump/internal/workspace/workspace.go:80
↓ 5 callersMethodChunk
(c *chunk.Chunk)
internal/chunk/obfuscate/obfuscate.go:113
↓ 5 callersMethodClose
Close mocks base method.
internal/mocks/mock_io/mock_io.go:43
↓ 5 callersMethodClose
()
internal/chunk/chunktest/dirserver.go:49
↓ 5 callersFunctionConvertMsgs
ConvertMsgs converts a slice of slack.Message to []types.Message.
types/message.go:65
↓ 5 callersMethodCopy
Copy iterates through the files in the message and copies them to the target directory. Source file location is determined by calling the srcFileLoc
internal/convert/filecopy.go:54
↓ 5 callersMethodCountUnfinished
CountUnfinished returns the number of unfinished threads in a channel.
internal/chunk/backend/dbase/repository/dbmessage.go:149
↓ 5 callersMethodDestroy
Destroy closes all open file handles and removes the temporary directory.
internal/chunk/filemgr.go:62
↓ 5 callersFunctionDn
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/control/mock_control/mock_interfaces.go:298
↓ 5 callersMethodExistsErr
ExistsErr checks if the workspace exists, and returns any errors that may occur.
internal/cache/manager.go:354
↓ 5 callersMethodFinish
Finish closes the controller and finalises the underlying encoder after a successful run.
internal/chunk/control/control.go:201
↓ 5 callersMethodFinish
Finish finalises the session, marking it as finished.
internal/chunk/backend/dbase/dbase.go:139
↓ 5 callersMethodGet
(ctx context.Context, conn sqlx.QueryerContext, channelID string)
internal/chunk/backend/dbase/repository/alias.go:34
↓ 5 callersMethodGetEmojiContext
(ctx context.Context)
internal/client/client.go:40
↓ 5 callersMethodGetEmojiContext
(ctx context.Context)
cmd/slackdump/internal/emoji/emojidl/emoji.go:59
↓ 5 callersMethodHeaderValue
HeaderValue mocks base method.
auth/browser/playwright_test.go:87
↓ 5 callersFunctionIfTrue
IfTrue returns second argument if the condition is true, otherwise, returns the third one. Same as C's ternary condition operator: cond ? t : f;
internal/primitive/primitive.go:23
↓ 5 callersMethodIndexByID
IndexByID returns the userID map to relevant *slack.User
types/users.go:28
↓ 5 callersMethodInteractive
()
internal/viewer/renderer/routes.go:71
↓ 5 callersFunctionIsClientToken
IsClientToken returns true if the tok is a web-client token.
auth/auth.go:122
↓ 5 callersFunctionIsEmptyThread
IsEmptyThread checks if the message is a thread with no replies.
internal/structures/conversation.go:27
↓ 5 callersFunctionNVLTime
NVLTime returns the default time if the given time is zero.
internal/structures/structures.go:83
↓ 5 callersFunctionNew
New creates a new file processor that uses mattermost file naming pattern.
internal/convert/transform/fileproc/sp_export.go:39
↓ 5 callersFunctionNewChunkRepository
()
internal/chunk/backend/dbase/repository/dbchunk.go:132
↓ 5 callersFunctionNewCustomRecorder
NewCustomRecorder creates a new recorder with a custom encoder.
internal/chunk/recorder.go:72
↓ 5 callersFunctionNewDBUser
(chunkID int64, n int, u *slack.User)
internal/chunk/backend/dbase/repository/dbuser.go:32
↓ 5 callersFunctionNewFileRepository
()
internal/chunk/backend/dbase/repository/dbfile.go:119
↓ 5 callersFunctionNewMockEncodeReferenceFinisher
NewMockEncodeReferenceFinisher creates a new mock instance.
internal/chunk/control/mock_control/mock_interfaces.go:427
↓ 5 callersFunctionNewMockMessageRepository
NewMockMessageRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_message.go:36
↓ 5 callersFunctionNewMockUsers
NewMockUsers creates a new mock instance.
mocks/mock_processor/mock_processor.go:141
↓ 5 callersFunctionNewMockdatahandler
NewMockdatahandler creates a new mock instance.
internal/chunk/backend/directory/dirproc_mock_test.go:115
↓ 5 callersMethodOneMessage
(m *slack.Message)
internal/chunk/obfuscate/obfuscate.go:156
↓ 5 callersMethodPreview
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/dedupe.go:57
↓ 5 callersMethodRewriteSlackURL
(src string)
internal/viewer/renderer/routes.go:133
↓ 5 callersFunctionRun
(ctx context.Context, db *sqlx.DB, opts Options)
cmd/slackdump/internal/diag/dedupe/dedupe.go:30
↓ 5 callersFunctionSetBaseFlags
SetBaseFlags sets base flags
cmd/slackdump/internal/cfg/cfg.go:229
↓ 5 callersMethodSetFocus
(bool)
cmd/slackdump/internal/ui/bubbles/menu/focusmodel.go:22
↓ 5 callersMethodStart
Start starts an async file downloader. If the downloader is already started, it does nothing.
downloader/downloader.go:164
↓ 5 callersMethodString
()
cmd/slackdump/internal/resume/resume.go:487
↓ 5 callersMethodSum
()
internal/chunk/backend/dbase/repository/dbchunk.go:147
↓ 5 callersFunctionTestDBDSN
(t *testing.T, dsn string)
internal/testutil/db.go:36
↓ 5 callersFunctionThreadIDtoTS
(threadID string)
internal/structures/slacktime.go:72
↓ 5 callersMethodView
()
cmd/slackdump/internal/ui/bubbles/pager/pager.go:120
↓ 5 callersFunctionWithContext
WithContext returns context with auth provider.
auth/context.go:42
↓ 5 callersFunctionWithCoordinator
WithCoordinator configures the controller with a transformer.
internal/chunk/control/options.go:68
↓ 5 callersFunctionWithLogger
WithLogger sets the logger used by the server. A nil value is silently ignored (the default logger is used in that case).
internal/mcp/server.go:86
↓ 5 callersFunctionWithUsers
WithUsers allows to pass a list of users to the transform.
internal/convert/transform/export_coordinator.go:90
↓ 5 callersMethodWrite
(p []byte)
internal/chunk/backend/directory/dirproc_test.go:33
↓ 5 callersMethodaliaser
()
internal/viewer/handlers.go:599
↓ 5 callersMethodapply
apply applies the pipeline functions in order.
internal/convert/transform/dump.go:85
↓ 5 callersFunctionassertDateModel
(t *testing.T, model tea.Model)
cmd/slackdump/internal/ui/updaters/date_test.go:162
↓ 5 callersFunctioncacheKey
(chanName string, threadTS string)
source/export_cache.go:134
↓ 5 callersMethodchannels
channels returns the channels in the underlying source. It returns ErrNoChannels if there are zero channels.
internal/redownload/redownload.go:144
↓ 5 callersFunctioncheckArchives
checkArchives verifies that all sources belong to the same workspace as the target. If a workspace ID cannot be determined for a source, a warning is
cmd/slackdump/internal/diag/merge.go:188
↓ 5 callersFunctionchunkTypeArgs
(types []chunk.ChunkType)
internal/chunk/backend/dbase/repository/dedupe.go:409
↓ 5 callersFunctioncloseSources
closeSources closes any source that implements io.Closer, logging errors as warnings.
cmd/slackdump/internal/diag/merge.go:484
↓ 5 callersFunctioncontent
content generates n numbered lines.
cmd/slackdump/internal/ui/bubbles/pager/pager_test.go:30
↓ 5 callersFunctiond
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersMethoddo
(req *http.Request)
cmd/slackdump/internal/diag/updater/github/github.go:177
↓ 5 callersFunctione
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunctionelement
(el string, close bool)
internal/viewer/renderer/slack.go:223
↓ 5 callersFunctionerrRateFnFn
errRateFnFn will return slack.RateLimitedError for numAttempts time and err after.
internal/network/network_test.go:57
↓ 5 callersFunctionextForType
(typ format.Type)
cmd/slackdump/internal/list/common.go:146
↓ 5 callersFunctionft
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunctiong
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callersMethodgetUsers
()
internal/convert/transform/export.go:84
↓ 5 callersFunctionindexChunks
indexChunks indexes the records in the reader and returns an index.
internal/chunk/file.go:124
↓ 5 callersFunctioninitChannels
(c []slack.Channel)
internal/viewer/viewer.go:238
↓ 5 callersFunctioninitDB
initDB runs the initialisation commands on the database.
internal/chunk/backend/dbase/dbase.go:129
↓ 5 callersFunctionisInvalid
isInvalid returns true if the provided path component is not web-safe.
internal/viewer/handlers.go:645
↓ 5 callersFunctionkeyMsg
(s string)
cmd/slackdump/internal/ui/updaters/date_test.go:171
↓ 5 callersFunctionloadmsg
(t *testing.T, s string)
internal/viewer/renderer/slack_fixtures_test.go:26
↓ 5 callersFunctionmergeSourceChunks
()
cmd/slackdump/internal/diag/merge_test.go:597
↓ 5 callersFunctionnewDirProc
newDirProc initialises the new directory processor which wraps the file recorder. It creates a new chunk file in a directory cd. Directory cd must ex
internal/chunk/backend/directory/dirproc.go:40
↓ 5 callersFunctionnewTestModel
(cfgFn func() Configuration)
cmd/slackdump/internal/ui/cfgui/model_test.go:136
↓ 5 callersFunctionnewTestViewer
(mode renderer.Mode)
internal/viewer/render_test.go:31
↓ 5 callersFunctionosDirFS
(root string)
internal/convert/html_test.go:352
↓ 5 callersFunctionpe
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunctionq
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callersMethodrenderPage
(ctx context.Context, render func(context.Context, io.Writer) error, outputPath string)
internal/convert/html.go:242
↓ 5 callersFunctionrunDlEdgeFS
(t *testing.T, ctx context.Context, sess EdgeEmojiLister, fsa fsadapter.FS, opt *Options)
cmd/slackdump/internal/emoji/emojidl/emoedge_test.go:39
↓ 5 callersFunctionrunMCPNewProject
(ctx context.Context, layout string, tgtDir string)
cmd/slackdump/internal/mcp/mcp.go:132
↓ 5 callersFunctions
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callersFunctionsaveCreds
saveCreds encrypts and saves the credentials.
internal/cache/auth.go:266
← previousnext →401–500 of 4,254, ranked by callers