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
↓ 3 callers
Method
List
()
internal/cache/manager.go:238
↓ 3 callers
Method
LoadProvider
LoadProvider loads the file from disk without any logical validation.
internal/cache/manager.go:194
↓ 3 callers
Method
LongName
LongName returns the command's long name: all the words in the usage line between "go" and a flag or argument,
cmd/slackdump/internal/golang/base/base.go:125
↓ 3 callers
Function
MattermostFilepath
MattermostFilepath returns the path to the file within the __uploads directory.
source/filestorage.go:81
↓ 3 callers
Method
Mode
Mode mocks base method.
internal/mocks/mock_os/mock_os.go:73
↓ 3 callers
Method
Mode
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:459
↓ 3 callers
Function
New
New creates new Slackdump session with provided options, and populates the internal cache of users and channels for lookups. If it fails to authentica
slackdump.go:127
↓ 3 callers
Function
New
New initialises new file downloader.
downloader/downloader.go:134
↓ 3 callers
Function
New
New creates a new Client instance. It checks if workspace provider is valid, and checks if it's an enterprise workspace. If it is, it creates an edg
internal/client/client.go:112
↓ 3 callers
Function
New
New creates new viewer instance. Once [Viewer.ListenAndServe] is called, the viewer will start serving the web interface on the given address. The a
internal/viewer/viewer.go:96
↓ 3 callers
Function
New
New returns the template from a string.
internal/nametmpl/template.go:55
↓ 3 callers
Function
New
(ctx context.Context, prov auth.Provider, opt ...Option)
internal/edge/edge.go:142
↓ 3 callers
Function
New
(title string, items []Item, preview bool)
cmd/slackdump/internal/ui/bubbles/menu/model.go:52
↓ 3 callers
Function
NewAvatarStorage
(fsys fs.FS)
source/filestorage.go:423
↓ 3 callers
Function
NewClient
NewClient creates a new GitHub client. It automatically reads the GITHUB_TOKEN environment variable for authentication.
cmd/slackdump/internal/diag/updater/github/github.go:86
↓ 3 callers
Function
NewDBFile
(chunkID int64, idx int, channelID, threadTS string, parentMsgTS string, file *slack.File)
internal/chunk/backend/dbase/repository/dbfile.go:44
↓ 3 callers
Function
NewDefault
NewDefault returns the default template.
internal/nametmpl/template.go:64
↓ 3 callers
Function
NewDir
NewDir creates a new [DirController]. Once the [Control.Close] is called it closes all file processors. Deprecated: use [New] instead.
internal/chunk/control/dir_control.go:53
↓ 3 callers
Function
NewDirectory
NewDirectory creates a new chunk directory with name. If name has a .zip extension it is stripped.
cmd/slackdump/internal/archive/archive.go:173
↓ 3 callers
Function
NewDump
NewDump creates a new standard dump converter.
internal/convert/transform/dump.go:64
↓ 3 callers
Function
NewDump
NewDump returns a new Dump File FileProcessor.
internal/convert/transform/fileproc/sp_dump.go:23
↓ 3 callers
Function
NewExpConverter
(src source.Sourcer, fsa fsadapter.FS, opt ...ExpCvtOption)
internal/convert/transform/export.go:68
↓ 3 callers
Function
NewExport
NewExport initialises an export file subprocessor based on the given export type. This subprocessor can be later plugged into the [expproc.Conversati
internal/convert/transform/fileproc/sp_export.go:26
↓ 3 callers
Function
NewFileNew
(v *string, placeholder string, showPrompt bool, overwrite bool)
cmd/slackdump/internal/ui/updaters/filepick_new.go:34
↓ 3 callers
Function
NewMockFileSearcher
NewMockFileSearcher creates a new mock instance.
mocks/mock_processor/mock_processor.go:425
↓ 3 callers
Function
NewMockReferenceChecker
NewMockReferenceChecker creates a new mock instance.
internal/chunk/control/mock_control/mock_interfaces.go:291
↓ 3 callers
Function
NewPlayerFromFile
(cf *File)
internal/chunk/player.go:40
↓ 3 callers
Function
NewRODAuth
NewRODAuth constructs new RodAuth provider.
auth/rod.go:101
↓ 3 callers
Function
NewRecorder
NewRecorder creates a new recorder to writer.
internal/chunk/recorder.go:61
↓ 3 callers
Function
NewSlack
(tmpl *template.Template, opts ...SlackOption)
internal/viewer/renderer/slack.go:79
↓ 3 callers
Function
NewUserRepository
()
internal/chunk/backend/dbase/repository/dbuser.go:77
↓ 3 callers
Function
NewWithClient
(workspaceName string, teamID string, token string, cl *http.Client, opt ...Option)
internal/edge/edge.go:78
↓ 3 callers
Method
OneFile
(f *slack.File)
internal/chunk/obfuscate/obfuscate.go:202
↓ 3 callers
Function
OnlyChannelUsers
()
cmd/slackdump/internal/ui/cfgui/common_params.go:74
↓ 3 callers
Function
OpenDatabaseRW
OpenDatabaseRW attempts to open the database at the given path for reading and writing, returning an [*RWDatabase] that satisfies the viewer Aliaser i
source/database.go:125
↓ 3 callers
Function
OpenExport
OpenExport opens a Slack export with the given name from the filesystem fsys.
source/export.go:53
↓ 3 callers
Function
OptSkipThreadFunc
OptSkipThreadFunc sets a predicate that is called for each thread head message during channel processing and after the first replies page for direct t
stream/stream.go:187
↓ 3 callers
Function
P
(e)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
PopulateReplyFields
(thread []slack.Message)
export/message.go:76
↓ 3 callers
Method
Post
PostForm sends a POST request to a webclient API, it marshals the form values to url.Values, omitting empty fields, and sends the request.
internal/edge/edge.go:237
↓ 3 callers
Function
PrintUsage
(w io.Writer, cmd *base.Command)
cmd/slackdump/internal/golang/help/help.go:25
↓ 3 callers
Function
ProgressBar
(ctx context.Context, lg *slog.Logger, opts ...progressbar.Option)
cmd/slackdump/internal/bootstrap/progress.go:30
↓ 3 callers
Function
RemoveOnClose
RemoveOnClose wraps an *os.File and removes it when it is closed. The filename must be given.
internal/osext/removewrapper.go:31
↓ 3 callers
Method
Render
(ctx context.Context, m *slack.Message)
internal/viewer/renderer/slack.go:104
↓ 3 callers
Function
RodAuthOptions
RodAuthOptions returns auth options shared by all ROD-based workspace login entry points, keeping CLI and TUI behaviour aligned.
cmd/slackdump/internal/workspace/wspcfg/wspcfg.go:61
↓ 3 callers
Function
Se
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
SearchChannels
initial channel slice size, allocates space for #random, #everyone, @user + a couple of custom
internal/edge/search.go:116
↓ 3 callers
Method
SearchFilesContext
(ctx context.Context, query string, params slack.SearchParameters)
internal/client/client.go:49
↓ 3 callers
Method
ServeHTTP
ServeHTTP runs the MCP server as a Streamable HTTP server on addr until ctx is cancelled. addr should be a host:port string such as "127.0.0.1:8483".
internal/mcp/server.go:210
↓ 3 callers
Method
SetUsers
([]slack.User)
internal/convert/transform/export_coordinator.go:31
↓ 3 callers
Function
ShouldSkip
ShouldSkip returns true for file modes that are expected in message payloads but do not represent downloadable files.
internal/convert/transform/fileproc/fileproc.go:126
↓ 3 callers
Function
SkipReason
SkipReason returns the reason why the file should be skipped.
internal/convert/transform/fileproc/fileproc.go:132
↓ 3 callers
Method
SlackChannel
()
internal/edge/client.go:116
↓ 3 callers
Method
Source
Source returns the connection that can be used safely as a source.
internal/chunk/backend/dbase/dbase.go:235
↓ 3 callers
Function
SplitEntryList
SplitEntryList splits the string by space.
internal/structures/entity_list.go:193
↓ 3 callers
Method
StaticAsset
(name string)
internal/viewer/renderer/routes.go:125
↓ 3 callers
Method
String
()
auth/auth_ui/huh.go:90
↓ 3 callers
Method
String
()
internal/structures/url_parse.go:61
↓ 3 callers
Method
String
()
internal/edge/slacker.go:146
↓ 3 callers
Method
String
()
internal/chunk/file_test.go:526
↓ 3 callers
Method
String
()
internal/format/format.go:56
↓ 3 callers
Method
String
()
cmd/slackdump/internal/format/dumptype_string.go:21
↓ 3 callers
Method
SyncConversations
SyncConversations fetches the conversations from the link which can be a channelID, channel URL, thread URL or a link in Slackdump format.
stream/conversation.go:37
↓ 3 callers
Method
Thread
(id, ts string)
internal/viewer/renderer/routes.go:86
↓ 3 callers
Method
UnsafeInsertChunk
UnsafeInsertChunk does not lock the DBP and does not commit the transaction. It should be used for bulk inserts. Unsafe for concurrent use.
internal/chunk/backend/dbase/split.go:58
↓ 3 callers
Function
UpdatePathFn
UpdatePathFn sets the URLPrivate and URLPrivateDownload for the file at addr to the specified path.
internal/structures/files/files.go:81
↓ 3 callers
Function
UpdateTokenFn
UpdateTokenFn returns a file update function that adds the t= query parameter with token value. If token value is empty, the function does nothing.
internal/structures/files/files.go:30
↓ 3 callers
Method
User
(userID string)
internal/viewer/renderer/routes.go:97
↓ 3 callers
Function
Vt
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
Walk
Walk iterates over all chunk files in the directory and calls the function for each file. If the function returns an error, the iteration stops. It d
internal/chunk/directory.go:257
↓ 3 callers
Function
WithDatabaseOptions
WithDatabaseOptions passes options to the database backend.
cmd/slackdump/internal/archive/archive.go:195
↓ 3 callers
Function
WithFileDeduplication
WithFileDeduplication skips downloading files already present in the database.
cmd/slackdump/internal/archive/archive.go:203
↓ 3 callers
Function
WithIncludeAvatars
WithIncludeAvatars sets the IncludeAvatars option.
internal/convert/convert.go:75
↓ 3 callers
Function
WithLiveHost
(host string)
internal/viewer/renderer/routes.go:57
↓ 3 callers
Function
WithMachineID
WithMachineID allows to set the machine ID for encryption/decryption.
internal/cache/manager.go:86
↓ 3 callers
Function
WithNoEncryption
WithNoEncryption allows to disable encryption for the cache files.
internal/cache/manager.go:95
↓ 3 callers
Function
WithOnlyNewOrChangedUsers
(v bool)
internal/chunk/backend/dbase/dbase.go:86
↓ 3 callers
Function
WithRoutes
(routes *Routes)
internal/viewer/renderer/slack.go:68
↓ 3 callers
Function
WithTape
(tape io.WriteCloser)
internal/edge/edge.go:67
↓ 3 callers
Function
WithTrgFileLoc
WithTrgFileLoc sets the TrgFileLoc function.
internal/convert/convert.go:88
↓ 3 callers
Function
WithWorkspaceURL
(wspURL string)
internal/viewer/renderer/routes.go:46
↓ 3 callers
Function
Wrap
Wrap wraps a *slack.Client and returns a *Client that implements the Slack interface. Intended for testing. The wrapper does not take ownership of the
internal/client/client.go:74
↓ 3 callers
Method
WriteIndex
WriteIndex generates and writes the export index files. It must be called once all transformations are done, because it might require to read channel
internal/convert/transform/export.go:195
↓ 3 callers
Function
Y
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Function
_t
()
internal/viewer/static/htmx.min.js:1
↓ 3 callers
Method
alias
(id string)
internal/viewer/handlers.go:604
↓ 3 callers
Method
aliasPutHandler
(w http.ResponseWriter, r *http.Request)
internal/viewer/handlers.go:439
↓ 3 callers
Method
apply
(opt ...Option)
cmd/slackdump/internal/ui/ui.go:29
↓ 3 callers
Function
askRetry
(ctx context.Context, name string, err error)
cmd/slackdump/internal/workspace/workspaceui/dialogs.go:27
↓ 3 callers
Function
assertChannelExists
(t *testing.T, tc *threadCache, chanName string)
source/export_cache_test.go:69
↓ 3 callers
Function
assertFileContent
─── helpers ──────────────────────────────────────────────────────────────────
cmd/slackdump/internal/mcp/mcp_test.go:161
↓ 3 callers
Function
assertMessageAndThreadCopied
(t *testing.T, archiveDir string)
cmd/slackdump/internal/diag/merge_test.go:742
↓ 3 callers
Function
assertOnClose
(t *testing.T, cmd tea.Cmd)
cmd/slackdump/internal/ui/updaters/date_test.go:152
↓ 3 callers
Function
buildEntryIndex
(links []string)
internal/structures/entity_list.go:338
↓ 3 callers
Method
callEdgeAPI
callEdgeAPI calls the edge API.
internal/edge/edge.go:227
↓ 3 callers
Method
canAlias
()
internal/viewer/handlers.go:685
↓ 3 callers
Method
channelFile
(channelID string)
source/dump.go:218
↓ 3 callers
Method
channelInfo
(fileID chunk.FileID)
source/chunkdir.go:142
↓ 3 callers
Function
channelInfoID
(channelID string)
internal/chunk/chunk.go:233
↓ 3 callers
Method
channelUsers
(ctx context.Context, channelID string, prealloc int)
internal/chunk/backend/dbase/source.go:212
← previous
next →
701–800 of 4,254, ranked by callers