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
↓ 6 callers
Function
he
(t,n,r,o,i,k)
internal/viewer/static/htmx.min.js:1
↓ 6 callers
Function
id
(prefix string, ids ...string)
internal/chunk/chunk.go:195
↓ 6 callers
Function
loser
(err error)
cmd/slackdump/internal/diag/info/info.go:127
↓ 6 callers
Function
makeCookie
(key, val string)
auth/value.go:93
↓ 6 callers
Function
mergeSource
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 callers
Function
mkThreadSetupFn
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 callers
Method
next
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 callers
Function
prepTestChunk
(c ...*chunk.Chunk)
internal/chunk/backend/dbase/source_test.go:414
↓ 6 callers
Method
source
source returns the current source under a read-lock. Returns nil when no source has been loaded.
internal/mcp/server.go:171
↓ 6 callers
Function
success
(ctx context.Context, workspace string)
cmd/slackdump/internal/workspace/workspaceui/dialogs.go:43
↓ 6 callers
Function
ue
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 6 callers
Method
userkey
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 callers
Function
v
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
$t
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Method
AllThreadMessages
(ctx context.Context, channelID, threadTimestamp string)
cmd/slackdump/internal/diag/hydrate.go:200
↓ 5 callers
Method
Auth
(ctx context.Context, name string, c cache.Credentials)
cmd/slackdump/internal/workspace/workspace.go:80
↓ 5 callers
Method
Chunk
(c *chunk.Chunk)
internal/chunk/obfuscate/obfuscate.go:113
↓ 5 callers
Method
Close
Close mocks base method.
internal/mocks/mock_io/mock_io.go:43
↓ 5 callers
Method
Close
()
internal/chunk/chunktest/dirserver.go:49
↓ 5 callers
Function
ConvertMsgs
ConvertMsgs converts a slice of slack.Message to []types.Message.
types/message.go:65
↓ 5 callers
Method
Copy
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 callers
Method
CountUnfinished
CountUnfinished returns the number of unfinished threads in a channel.
internal/chunk/backend/dbase/repository/dbmessage.go:149
↓ 5 callers
Method
Destroy
Destroy closes all open file handles and removes the temporary directory.
internal/chunk/filemgr.go:62
↓ 5 callers
Function
Dn
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/control/mock_control/mock_interfaces.go:298
↓ 5 callers
Method
ExistsErr
ExistsErr checks if the workspace exists, and returns any errors that may occur.
internal/cache/manager.go:354
↓ 5 callers
Method
Finish
Finish closes the controller and finalises the underlying encoder after a successful run.
internal/chunk/control/control.go:201
↓ 5 callers
Method
Finish
Finish finalises the session, marking it as finished.
internal/chunk/backend/dbase/dbase.go:139
↓ 5 callers
Method
Get
(ctx context.Context, conn sqlx.QueryerContext, channelID string)
internal/chunk/backend/dbase/repository/alias.go:34
↓ 5 callers
Method
GetEmojiContext
(ctx context.Context)
internal/client/client.go:40
↓ 5 callers
Method
GetEmojiContext
(ctx context.Context)
cmd/slackdump/internal/emoji/emojidl/emoji.go:59
↓ 5 callers
Method
HeaderValue
HeaderValue mocks base method.
auth/browser/playwright_test.go:87
↓ 5 callers
Function
IfTrue
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 callers
Method
IndexByID
IndexByID returns the userID map to relevant *slack.User
types/users.go:28
↓ 5 callers
Method
Interactive
()
internal/viewer/renderer/routes.go:71
↓ 5 callers
Function
IsClientToken
IsClientToken returns true if the tok is a web-client token.
auth/auth.go:122
↓ 5 callers
Function
IsEmptyThread
IsEmptyThread checks if the message is a thread with no replies.
internal/structures/conversation.go:27
↓ 5 callers
Function
NVLTime
NVLTime returns the default time if the given time is zero.
internal/structures/structures.go:83
↓ 5 callers
Function
New
New creates a new file processor that uses mattermost file naming pattern.
internal/convert/transform/fileproc/sp_export.go:39
↓ 5 callers
Function
NewChunkRepository
()
internal/chunk/backend/dbase/repository/dbchunk.go:132
↓ 5 callers
Function
NewCustomRecorder
NewCustomRecorder creates a new recorder with a custom encoder.
internal/chunk/recorder.go:72
↓ 5 callers
Function
NewDBUser
(chunkID int64, n int, u *slack.User)
internal/chunk/backend/dbase/repository/dbuser.go:32
↓ 5 callers
Function
NewFileRepository
()
internal/chunk/backend/dbase/repository/dbfile.go:119
↓ 5 callers
Function
NewMockEncodeReferenceFinisher
NewMockEncodeReferenceFinisher creates a new mock instance.
internal/chunk/control/mock_control/mock_interfaces.go:427
↓ 5 callers
Function
NewMockMessageRepository
NewMockMessageRepository creates a new mock instance.
internal/chunk/backend/dbase/repository/mock_repository/mock_message.go:36
↓ 5 callers
Function
NewMockUsers
NewMockUsers creates a new mock instance.
mocks/mock_processor/mock_processor.go:141
↓ 5 callers
Function
NewMockdatahandler
NewMockdatahandler creates a new mock instance.
internal/chunk/backend/directory/dirproc_mock_test.go:115
↓ 5 callers
Method
OneMessage
(m *slack.Message)
internal/chunk/obfuscate/obfuscate.go:156
↓ 5 callers
Method
Preview
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/dedupe.go:57
↓ 5 callers
Method
RewriteSlackURL
(src string)
internal/viewer/renderer/routes.go:133
↓ 5 callers
Function
Run
(ctx context.Context, db *sqlx.DB, opts Options)
cmd/slackdump/internal/diag/dedupe/dedupe.go:30
↓ 5 callers
Function
SetBaseFlags
SetBaseFlags sets base flags
cmd/slackdump/internal/cfg/cfg.go:229
↓ 5 callers
Method
SetFocus
(bool)
cmd/slackdump/internal/ui/bubbles/menu/focusmodel.go:22
↓ 5 callers
Method
Start
Start starts an async file downloader. If the downloader is already started, it does nothing.
downloader/downloader.go:164
↓ 5 callers
Method
String
()
cmd/slackdump/internal/resume/resume.go:487
↓ 5 callers
Method
Sum
()
internal/chunk/backend/dbase/repository/dbchunk.go:147
↓ 5 callers
Function
TestDBDSN
(t *testing.T, dsn string)
internal/testutil/db.go:36
↓ 5 callers
Function
ThreadIDtoTS
(threadID string)
internal/structures/slacktime.go:72
↓ 5 callers
Method
View
()
cmd/slackdump/internal/ui/bubbles/pager/pager.go:120
↓ 5 callers
Function
WithContext
WithContext returns context with auth provider.
auth/context.go:42
↓ 5 callers
Function
WithCoordinator
WithCoordinator configures the controller with a transformer.
internal/chunk/control/options.go:68
↓ 5 callers
Function
WithLogger
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 callers
Function
WithUsers
WithUsers allows to pass a list of users to the transform.
internal/convert/transform/export_coordinator.go:90
↓ 5 callers
Method
Write
(p []byte)
internal/chunk/backend/directory/dirproc_test.go:33
↓ 5 callers
Method
aliaser
()
internal/viewer/handlers.go:599
↓ 5 callers
Method
apply
apply applies the pipeline functions in order.
internal/convert/transform/dump.go:85
↓ 5 callers
Function
assertDateModel
(t *testing.T, model tea.Model)
cmd/slackdump/internal/ui/updaters/date_test.go:162
↓ 5 callers
Function
cacheKey
(chanName string, threadTS string)
source/export_cache.go:134
↓ 5 callers
Method
channels
channels returns the channels in the underlying source. It returns ErrNoChannels if there are zero channels.
internal/redownload/redownload.go:144
↓ 5 callers
Function
checkArchives
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 callers
Function
chunkTypeArgs
(types []chunk.ChunkType)
internal/chunk/backend/dbase/repository/dedupe.go:409
↓ 5 callers
Function
closeSources
closeSources closes any source that implements io.Closer, logging errors as warnings.
cmd/slackdump/internal/diag/merge.go:484
↓ 5 callers
Function
content
content generates n numbered lines.
cmd/slackdump/internal/ui/bubbles/pager/pager_test.go:30
↓ 5 callers
Function
d
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Method
do
(req *http.Request)
cmd/slackdump/internal/diag/updater/github/github.go:177
↓ 5 callers
Function
e
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
element
(el string, close bool)
internal/viewer/renderer/slack.go:223
↓ 5 callers
Function
errRateFnFn
errRateFnFn will return slack.RateLimitedError for numAttempts time and err after.
internal/network/network_test.go:57
↓ 5 callers
Function
extForType
(typ format.Type)
cmd/slackdump/internal/list/common.go:146
↓ 5 callers
Function
ft
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
g
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Method
getUsers
()
internal/convert/transform/export.go:84
↓ 5 callers
Function
indexChunks
indexChunks indexes the records in the reader and returns an index.
internal/chunk/file.go:124
↓ 5 callers
Function
initChannels
(c []slack.Channel)
internal/viewer/viewer.go:238
↓ 5 callers
Function
initDB
initDB runs the initialisation commands on the database.
internal/chunk/backend/dbase/dbase.go:129
↓ 5 callers
Function
isInvalid
isInvalid returns true if the provided path component is not web-safe.
internal/viewer/handlers.go:645
↓ 5 callers
Function
keyMsg
(s string)
cmd/slackdump/internal/ui/updaters/date_test.go:171
↓ 5 callers
Function
loadmsg
(t *testing.T, s string)
internal/viewer/renderer/slack_fixtures_test.go:26
↓ 5 callers
Function
mergeSourceChunks
()
cmd/slackdump/internal/diag/merge_test.go:597
↓ 5 callers
Function
newDirProc
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 callers
Function
newTestModel
(cfgFn func() Configuration)
cmd/slackdump/internal/ui/cfgui/model_test.go:136
↓ 5 callers
Function
newTestViewer
(mode renderer.Mode)
internal/viewer/render_test.go:31
↓ 5 callers
Function
osDirFS
(root string)
internal/convert/html_test.go:352
↓ 5 callers
Function
pe
(e)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
q
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Method
renderPage
(ctx context.Context, render func(context.Context, io.Writer) error, outputPath string)
internal/convert/html.go:242
↓ 5 callers
Function
runDlEdgeFS
(t *testing.T, ctx context.Context, sess EdgeEmojiLister, fsa fsadapter.FS, opt *Options)
cmd/slackdump/internal/emoji/emojidl/emoedge_test.go:39
↓ 5 callers
Function
runMCPNewProject
(ctx context.Context, layout string, tgtDir string)
cmd/slackdump/internal/mcp/mcp.go:132
↓ 5 callers
Function
s
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
saveCreds
saveCreds encrypts and saves the credentials.
internal/cache/auth.go:266
← previous
next →
401–500 of 4,254, ranked by callers