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
↓ 11 callers
Function
prepChunk
prepChunk prepares number of chunks in the database.
internal/chunk/backend/dbase/repository/repository_test.go:93
↓ 11 callers
Function
verifyChunkCountForTest
(t *testing.T, db *sqlx.DB, expected int)
internal/chunk/backend/dbase/repository/cleanup_test.go:159
↓ 11 callers
Method
view
view returns a mainView struct with the channels and the name and type of the source.
internal/viewer/handlers.go:580
↓ 10 callers
Function
CacheMgr
(opts ...cache.Option)
cmd/slackdump/internal/workspace/workspace.go:179
↓ 10 callers
Method
Cookies
Cookies should return a set of Slack Session cookies.
auth/auth.go:47
↓ 10 callers
Method
Deduplicate
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/dedupe.go:58
↓ 10 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
mocks/mock_processor/mock_processor.go:186
↓ 10 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
cmd/slackdump/internal/list/mocks_test.go:42
↓ 10 callers
Method
Focus
()
cmd/slackdump/internal/ui/bubbles/btime/btime.go:103
↓ 10 callers
Function
FormatSlackTS
(ts time.Time)
internal/structures/slacktime.go:63
↓ 10 callers
Method
GetConversationHistoryContext
(ctx context.Context, params *slack.GetConversationHistoryParameters)
internal/client/client.go:36
↓ 10 callers
Method
GetUsersInConversationContext
(ctx context.Context, params *slack.GetUsersInConversationParameters)
internal/client/client.go:46
↓ 10 callers
Method
ID
ID obfuscates an ID.
internal/chunk/obfuscate/ids.go:34
↓ 10 callers
Function
NewDBChannelUser
(chunkID int64, n int, channelID, userID string)
internal/chunk/backend/dbase/repository/dbchannelusers.go:34
↓ 10 callers
Function
NewMockFiler
NewMockFiler creates a new mock instance.
mocks/mock_processor/mock_processor.go:269
↓ 10 callers
Method
Open
Open opens the file with the given name. If the file is already open, it returns the existing handle. If the file is not open, it opens the compressed
internal/chunk/filemgr.go:88
↓ 10 callers
Method
RemoveAll
RemoveAll deletes all the files in the cache directory, and the cache directory itself.
internal/cache/manager.go:490
↓ 10 callers
Method
Transform
Transform is the function that starts the transformation of the channel or thread with the given id. It is called when the reference count for the c
internal/chunk/chunk.go:294
↓ 10 callers
Method
Users
Users should return all users.
source/source.go:57
↓ 10 callers
Function
WithFiler
WithFiler configures the controller with a file subprocessor.
internal/chunk/control/options.go:47
↓ 10 callers
Function
c
(e,t,n,r)
internal/viewer/static/htmx.min.js:1
↓ 10 callers
Function
ensureDb
(ctx context.Context, dir string)
cmd/slackdump/internal/diag/dedupe.go:49
↓ 10 callers
Function
l
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 10 callers
Function
le
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 10 callers
Function
must
(v T, err error)
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr_test.go:58
↓ 10 callers
Function
orNull
orNull is a convenience function to set optional fields.
internal/chunk/backend/dbase/repository/repository.go:78
↓ 10 callers
Function
placeholders
(v []T)
internal/chunk/backend/dbase/repository/repository.go:69
↓ 10 callers
Method
randomString
randomString returns a random string of length n + random number [0,40).
internal/chunk/obfuscate/obfuscate.go:254
↓ 10 callers
Function
slice
slice is a convenience function to create a slice of T.
internal/chunk/backend/dbase/repository/repository.go:100
↓ 10 callers
Method
validate
(ep string)
internal/edge/edge.go:175
↓ 9 callers
Method
ChannelUsers
(ctx context.Context, channelID string, threadTS string, users []string)
processor/processor.go:42
↓ 9 callers
Method
Close
Close closes the coordinator. It must be called once it is guaranteed that [Transform] will not be called anymore, otherwise the call to Transform wi
internal/convert/transform/export_coordinator.go:210
↓ 9 callers
Method
Close
()
internal/chunk/filemgr_test.go:360
↓ 9 callers
Method
Close
()
internal/chunk/backend/directory/erc.go:142
↓ 9 callers
Method
Convert
Convert should convert the chunk to the Converters' output format.
internal/convert/transform/transform.go:29
↓ 9 callers
Method
Current
()
cmd/slackdump/internal/workspace/workspace.go:87
↓ 9 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_auth/mock_auth.go:41
↓ 9 callers
Function
FromContext
FromContext returns the auth provider from the context.
auth/context.go:30
↓ 9 callers
Function
GZCompress
GZCompress compresses data using gzip and returns the compressed data.
internal/testutil/compress.go:25
↓ 9 callers
Method
GetConversationInfoContext
(ctx context.Context, input *slack.GetConversationInfoInput)
internal/client/client.go:37
↓ 9 callers
Method
IsComplete
IsComplete should return true, if all messages and threads for the channel has been processed.
internal/chunk/control/interfaces.go:64
↓ 9 callers
Function
NVL
(s string, ss ...string)
internal/structures/user_index.go:69
↓ 9 callers
Function
NewChannelRepository
()
internal/chunk/backend/dbase/repository/dbchannel.go:79
↓ 9 callers
Function
NewFileCopier
(src source.Sourcer, trg fsadapter.FS, trgLoc func(*slack.Channel, *slack.File) string, enabled bool)
internal/convert/filecopy.go:41
↓ 9 callers
Function
NewSessionRepository
()
internal/chunk/backend/dbase/repository/session.go:67
↓ 9 callers
Method
PostForm
PostForm sends a POST request to a webclient API with form values.
internal/edge/edge.go:242
↓ 9 callers
Method
Run
(ctx context.Context)
cmd/slackdump/internal/ui/dumpui/dumpui.go:123
↓ 9 callers
Function
SanitizeFilename
SanitizeFilename ensures the filename is safe for all OSes, especially Windows.
source/filestorage.go:63
↓ 9 callers
Method
Select
(name string)
cmd/slackdump/internal/workspace/workspaceui/workspaceui.go:39
↓ 9 callers
Function
Slack
Slack returns the Slack client initialised with the provider from context and a standard set of options initialised from the configuration.
cmd/slackdump/internal/bootstrap/slackdump.go:54
↓ 9 callers
Method
String
()
cmd/slackdump/internal/workspace/list_format.go:79
↓ 9 callers
Function
Type
(src string)
source/source.go:208
↓ 9 callers
Method
add
(other FileStats)
internal/redownload/filestats.go:30
↓ 9 callers
Function
closeall
closeall closes all the io.Closer instances in the slice.
processor/processor.go:178
↓ 9 callers
Method
columns
columns should return the column names.
internal/chunk/backend/dbase/repository/dbobject.go:28
↓ 9 callers
Method
height
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:184
↓ 9 callers
Method
limiter
()
internal/edge/limits.go:31
↓ 9 callers
Function
open
open validates the target as a database archive, opens a RW connection to it, and opens each source path.
cmd/slackdump/internal/diag/merge.go:167
↓ 9 callers
Function
resolveMergeTarget
(targetPath string)
cmd/slackdump/internal/diag/merge.go:131
↓ 9 callers
Function
se
(e)
internal/viewer/static/htmx.min.js:1
↓ 9 callers
Method
tablename
tablename should return the table name.
internal/chunk/backend/dbase/repository/dbobject.go:22
↓ 8 callers
Method
Abort
Abort closes the writer without finalising the session. No additional cleanup is required here because DBP does not own the database connection.
internal/chunk/backend/dbase/dbase.go:157
↓ 8 callers
Function
AvatarParams
AvatarParams is a convenience function that returns the user ID and the base name of the original avatar filename to be passed to AvatarStorage.File f
source/filestorage.go:449
↓ 8 callers
Method
Dec
()
internal/chunk/backend/directory/conversations.go:72
↓ 8 callers
Function
DefaultStyle
()
cmd/slackdump/internal/ui/cfgui/style.go:39
↓ 8 callers
Function
ExtractWorkspace
ExtractWorkspace takes a workspace name or URL and returns the workspace name.
internal/structures/structures.go:58
↓ 8 callers
Method
GetFileContext
(ctx context.Context, downloadURL string, writer io.Writer)
internal/client/client.go:41
↓ 8 callers
Method
GetUserInfoContext
(ctx context.Context, user string)
internal/client/client.go:44
↓ 8 callers
Function
H
(e)
internal/viewer/static/htmx.min.js:1
↓ 8 callers
Method
IsValid
()
internal/structures/url_parse.go:57
↓ 8 callers
Method
Marshal
Marshal writes the index to the filesystem in a set of files specified in `filename` tags of the structure.
internal/structures/index.go:128
↓ 8 callers
Function
New
New creates a new MCP server. The server is populated with all available tools but does not start listening until one of the Serve* methods is called
internal/mcp/server.go:111
↓ 8 callers
Function
NewConfigUI
(sty *Style, cfgFn func() Configuration)
cmd/slackdump/internal/ui/cfgui/model.go:61
↓ 8 callers
Function
NewDTTM
(ptrTime *time.Time)
cmd/slackdump/internal/ui/updaters/date.go:44
↓ 8 callers
Function
NewMockConversations
NewMockConversations creates a new mock instance.
mocks/mock_processor/mock_processor.go:33
↓ 8 callers
Function
NewMockStorage
NewMockStorage creates a new mock instance.
source/mock_source/mock_source.go:261
↓ 8 callers
Method
QueryxContext
(ctx context.Context, query string, args ...any)
internal/chunk/backend/dbase/repository/repository_test.go:257
↓ 8 callers
Function
S
(e)
internal/viewer/static/htmx.min.js:1
↓ 8 callers
Function
SkipInCI
(t *testing.T)
internal/fixtures/fixtures.go:99
↓ 8 callers
Function
SkipOnWindows
(t *testing.T)
internal/fixtures/fixtures.go:106
↓ 8 callers
Method
Unregister
(id chunk.FileID)
internal/chunk/backend/directory/conversations.go:57
↓ 8 callers
Function
WithFlags
WithFlags configures the controller with flags.
internal/chunk/control/options.go:61
↓ 8 callers
Method
Write
(p []byte)
cmd/slackdump/internal/diag/hydrate_test.go:157
↓ 8 callers
Function
calcRunDuration
calcRunDuration is the convenience function to calculate the expected run duration.
internal/network/network_test.go:43
↓ 8 callers
Function
colAlias
(alias string, col ...string)
internal/chunk/backend/dbase/repository/generic.go:100
↓ 8 callers
Function
firstText
firstText returns the text of the first TextContent in the result.
internal/mcp/tools_test.go:59
↓ 8 callers
Method
get
get retrieves users from cache. If cache is empty or expired, it will return errCacheExpired.
user_cache.go:36
↓ 8 callers
Method
get
(ctx context.Context, uri string)
cmd/slackdump/internal/diag/updater/github/github.go:169
↓ 8 callers
Function
insertChannelWithChunkForTest
(t *testing.T, db *sqlx.DB, channelID string, chunkID int64, name string, data []byte)
internal/chunk/backend/dbase/repository/dedupe_test.go:483
↓ 8 callers
Function
isErrorResult
isErrorResult returns true when the result carries IsError=true.
internal/mcp/tools_test.go:54
↓ 8 callers
Method
limiter
(t network.Tier)
slackdump.go:216
↓ 8 callers
Function
newTestServer
newTestServer creates a *Server backed by a MockSourceResumeCloser with minimum Name/Type expectations set, pre-loaded via direct field injection. It
internal/mcp/server_test.go:37
↓ 8 callers
Function
prepChunkWithFinal
(tc ...testChunk)
internal/chunk/backend/dbase/repository/repository_test.go:110
↓ 8 callers
Function
realname
realname returns the sanitised name of the workspace, replacing the empty string with "default". Empty workspace name is possible if the user hasn't
cmd/slackdump/internal/workspace/new.go:124
↓ 8 callers
Function
seqFromMessages
(msgs []slack.Message)
internal/redownload/redownload_test.go:119
↓ 8 callers
Method
set
(users types.Users)
user_cache.go:45
↓ 8 callers
Method
setConversation
setConversation sets the Conversation and canvas-related fields on the page view. It should be called whenever a channel is loaded, so that the canva
internal/viewer/handlers.go:674
↓ 8 callers
Function
setWaitFunc
(fn func(int) time.Duration)
internal/network/network.go:55
↓ 8 callers
Function
testChannel
(id, name, teamID string)
cmd/slackdump/internal/diag/merge_test.go:650
↓ 8 callers
Function
u
(e)
internal/viewer/static/htmx.min.js:1
← previous
next →
201–300 of 4,254, ranked by callers