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
Function
withDuplicateRows
(entity dedupeEntity, final string)
internal/chunk/backend/dbase/repository/dedupe.go:350
↓ 3 callers
Function
withFile
withFile opens a file for writing and calls the provided callback function.
cmd/slackdump/internal/format/source.go:155
↓ 3 callers
Function
withMachineIDOverride
(id string)
internal/cache/auth.go:157
↓ 3 callers
Function
withNoEncryption
()
internal/cache/auth.go:151
↓ 3 callers
Function
workspaceWorker
(ctx context.Context, s Streamer, wsproc processor.WorkspaceInfo)
internal/chunk/control/workers.go:48
↓ 3 callers
Function
writeDumpFixture
(t *testing.T)
cmd/slackdump/internal/convertcmd/convert_test.go:110
↓ 3 callers
Function
yieldFileContents
yieldFileContents is meant to work with export json files and will call yield function for every message in the file. It expects to be called by fs.Wa
source/export.go:183
↓ 3 callers
Function
ze
(h,d,p,g)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
$e
(t,e,n,r,o)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
AdminEmojiList
(ctx context.Context)
cmd/slackdump/internal/emoji/emojidl/emoedge.go:49
↓ 2 callers
Method
AllChannelInfos
AllChannelInfos returns all the channel information collected by the channel info API.
internal/chunk/file.go:250
↓ 2 callers
Method
AllUsers
AllUsers returns all users in the dump file.
internal/chunk/file.go:234
↓ 2 callers
Method
AsChannelID
asChannelID returns the channel ID from the GroupID. If the GroupID is not a channel ID, it returns false.
internal/chunk/chunk.go:179
↓ 2 callers
Function
At
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
Attr
()
internal/redownload/filestats.go:35
↓ 2 callers
Method
Auth
Auth authenticates in the Slack Workspace "name" and saves credentials to the relevant file. It initialises the auth.Provider depending on provided sl
internal/cache/manager.go:171
↓ 2 callers
Method
Blur
()
cmd/slackdump/internal/ui/bubbles/btime/btime.go:107
↓ 2 callers
Method
BotID
(b string)
internal/chunk/obfuscate/ids.go:49
↓ 2 callers
Function
BrowserWithBrowser
(b browser.Browser)
auth/option.go:48
↓ 2 callers
Method
Canvas
(id string)
internal/viewer/renderer/routes.go:104
↓ 2 callers
Method
CanvasContent
(id string)
internal/viewer/renderer/routes.go:111
↓ 2 callers
Function
Ce
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
ChannelMessage
(id, ts string)
internal/viewer/renderer/routes.go:82
↓ 2 callers
Method
ChannelName
ChannelName return the "beautified" name of the channel.
internal/structures/user_index.go:124
↓ 2 callers
Method
ChannelUsers
(cu []string)
internal/chunk/obfuscate/obfuscate.go:381
↓ 2 callers
Method
Channels
(context.Context)
source/export.go:99
↓ 2 callers
Method
Channels
Channels returns channels for the dump. It first tries to read the channels from the channels.json file. If that fails, it will walk the filesystem
source/dump.go:82
↓ 2 callers
Method
ClientCounts
(ctx context.Context)
internal/edge/client.go:52
↓ 2 callers
Method
Close
Close releases resources owned by the session client when it is closable.
slackdump.go:201
↓ 2 callers
Method
Close
()
processor/processor.go:146
↓ 2 callers
Method
Close
()
internal/viewer/viewer.go:187
↓ 2 callers
Method
Close
()
internal/redownload/redownload_test.go:107
↓ 2 callers
Method
Close
Close closes the file handle and removes it from the file manager's handles map.
internal/chunk/filemgr.go:141
↓ 2 callers
Method
Close
Close closes the recorder (it's a noop for now).
internal/chunk/recorder.go:195
↓ 2 callers
Function
CmdClose
(id string)
cmd/slackdump/internal/ui/updaters/commands.go:33
↓ 2 callers
Method
ConversationsView
(ctx context.Context, channelID string)
internal/edge/conversations.go:100
↓ 2 callers
Method
Convert
(ctx context.Context)
internal/convert/src2enc.go:58
↓ 2 callers
Method
Convert
Convert is the chunk file export converter. It transforms the chunk file for the channel with ID into a slack export format. It expects the chunk fi
internal/convert/transform/export.go:96
↓ 2 callers
Method
CountUnfinishedChunks
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/cleanup.go:17
↓ 2 callers
Method
CountUnfinishedSessions
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/cleanup.go:16
↓ 2 callers
Function
CreateDir
CreateDir creates and opens a directory. It will create all parent directories if they don't exist.
internal/chunk/directory.go:126
↓ 2 callers
Method
Current
Current returns the current workspace name.
internal/cache/manager.go:268
↓ 2 callers
Function
DBController
DBController returns a new database controller initialised with the given parameters. sessionName is recorded in the database session only and must no
cmd/slackdump/internal/archive/archive.go:214
↓ 2 callers
Function
DatabaseWithSource
DatabaseWithSource returns a new database source with the given database processor source. It will not have any files or avatars storage. In most ca
source/database.go:148
↓ 2 callers
Method
Delete
(ctx context.Context, conn sqlx.ExtContext, channelID string)
internal/chunk/backend/dbase/repository/alias.go:37
↓ 2 callers
Method
DeleteAlias
DeleteAlias deletes the alias for the given channel ID.
internal/viewer/handlers.go:573
↓ 2 callers
Function
Detect
Detect detects the current platform and package manager.
cmd/slackdump/internal/diag/updater/platform/platform.go:73
↓ 2 callers
Function
DirExists
DirExists checks if the directory exists and is a directory. It will return an error if the path does not exist, and if the path is not a directory,
internal/osext/dir.go:30
↓ 2 callers
Function
DlEdgeFS
DlEdgeFS downloads the emojis and saves them to the fsa. It spawns numWorker goroutines for getting the files. It will call fetchFn for each emoji.
cmd/slackdump/internal/emoji/emojidl/emoedge.go:56
↓ 2 callers
Function
DlFS
DlFS downloads all emojis from the workspace and saves them to the fsa.
cmd/slackdump/internal/emoji/emojidl/emoji.go:68
↓ 2 callers
Function
Do
Do obfuscates the slackdump chunk recording from r, writing the obfuscated chunks to w.
internal/chunk/obfuscate/obfuscate.go:67
↓ 2 callers
Method
DumpAll
DumpAll dumps all messages. See description of Dump for what can be provided in link.
messages.go:64
↓ 2 callers
Function
DumpWithTemplate
(tmpl Templater)
internal/convert/transform/dump.go:43
↓ 2 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:432
↓ 2 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/mock_chunk/mock_chunk.go:39
↓ 2 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/mock_chunk/mock_encoder.go:40
↓ 2 callers
Function
ExportTokenUpdateFn
ExportTokenUpdateFn returns a function that appends the token to every file URL in the given message.
internal/convert/transform/fileproc/fileproc.go:99
↓ 2 callers
Method
ExtractChannelID
ExtractChannelID attempts to extract the channel ID from the GroupID if it is a channel or a thread ID. Otherwise, ok will be false.
internal/chunk/chunk.go:209
↓ 2 callers
Method
File
(id string, name string)
source/filestorage.go:258
↓ 2 callers
Method
File
(id string, name string)
source/filestorage.go:399
↓ 2 callers
Method
File
(id, filename string)
internal/viewer/renderer/routes.go:118
↓ 2 callers
Function
FlagRender
FlagRender returns the representation of f using characters in flg.
internal/primitive/flags.go:21
↓ 2 callers
Method
Focus
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:439
↓ 2 callers
Method
FormatFunc
()
internal/format/format.go:105
↓ 2 callers
Function
Ft
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
GetConversationsContextEx
(ctx context.Context, params *slack.GetConversationsParameters, onlyMy bool)
stream/stream.go:258
↓ 2 callers
Method
GetStarredContext
(ctx context.Context, params slack.StarsParameters)
internal/client/client.go:43
↓ 2 callers
Function
Gt
()
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
HasChunks
HasChunks returns true if there is at least one chunk for the given id.
internal/chunk/file.go:176
↓ 2 callers
Function
Help
Help implements the 'help' command.
cmd/slackdump/internal/golang/help/help.go:74
↓ 2 callers
Method
IMList
(ctx context.Context)
internal/edge/dms.go:38
↓ 2 callers
Function
Ie
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
Init
()
cmd/slackdump/internal/ui/cfgui/model.go:76
↓ 2 callers
Function
Input
Input shows a text input field with a custom validator.
cmd/slackdump/internal/ui/input.go:23
↓ 2 callers
Method
IsChannel
()
internal/chunk/chunk.go:183
↓ 2 callers
Method
IsDeleted
IsDeleted checks if the user is deleted and returns appropriate value. It will assume user is not deleted, if it's not present in the user index.
internal/structures/user_index.go:115
↓ 2 callers
Method
IsEmpty
()
internal/cache/auth.go:92
↓ 2 callers
Method
IsEmpty
IsEmpty returns true if there's no entries in the list.
internal/structures/entity_list.go:334
↓ 2 callers
Function
IsInvalidAuthErr
(err error)
auth/auth_error.go:48
↓ 2 callers
Function
IsPathError
IsPathError reports whether the error is an fs.PathError.
internal/osext/errors.go:24
↓ 2 callers
Method
IsReleased
()
cmd/slackdump/internal/cfg/cfg.go:172
↓ 2 callers
Function
IsSame
IsSame returns true if path1 and path2 both pointing to the same object.
internal/osext/dir.go:42
↓ 2 callers
Method
IsThread
()
internal/structures/url_parse.go:43
↓ 2 callers
Function
J
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
JoinChannels
JoinChannels joins multiple Channels processors into one. Processors are called in the order they are passed in.
processor/processor.go:110
↓ 2 callers
Function
JoinPath
JoinPath joins the dir to each file in files using filepath.Join.
internal/fixtures/file_functions.go:68
↓ 2 callers
Function
K
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Function
KeySelectBinding
(desc string)
cmd/slackdump/internal/ui/keymap.go:79
↓ 2 callers
Method
Latest
Latest should return the latest timestamps of all channels and threads.
source/source.go:85
↓ 2 callers
Function
Le
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
ListBookmarks
(channelID string)
internal/client/client.go:48
↓ 2 callers
Function
Load
Load reads, parses and validates the config file.
cmd/slackdump/internal/apiconfig/apiconfig.go:52
↓ 2 callers
Function
Lt
(e)
internal/viewer/static/htmx.min.js:1
↓ 2 callers
Method
MPIMList
(ctx context.Context)
internal/edge/mpims.go:37
↓ 2 callers
Function
MakeExportIndex
MakeExportIndex creates a channels and users index for export archive, splitting channels in group/mpims/dms/public channels. currentUserID should co
internal/structures/index.go:89
↓ 2 callers
Method
Marshal
()
internal/edge/client_boot.go:72
↓ 2 callers
Function
MemberOnly
MemberOnly returns a checkbox parameter for Member Only flag.
cmd/slackdump/internal/ui/cfgui/common_params.go:46
↓ 2 callers
Method
Messages
obfuscateManyMessages obfuscates a slice of messages.
internal/chunk/obfuscate/obfuscate.go:141
↓ 2 callers
Method
Method
Method mocks base method.
auth/browser/playwright_test.go:145
↓ 2 callers
Function
MkTestFile
MkTestFile creates a test file in the directory dir, and copies the content into it.
internal/fixtures/file_functions.go:28
← previous
next →
901–1,000 of 4,254, ranked by callers