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
↓ 5 callers
Function
testRNG
()
internal/chunk/obfuscate/obfuscate_test.go:37
↓ 5 callers
Function
testUsers
()
internal/convert/transform/export_coordinator_test.go:53
↓ 5 callers
Function
threadID
(channelID, threadTS string)
internal/chunk/chunk.go:199
↓ 5 callers
Function
tupleVal
(entry []int, tuple int)
cmd/slackdump/internal/ui/bubbles/btime/btime.go:231
↓ 5 callers
Function
unmarshal
unmarshal reads the JSON file from the filesystem and unmarshals it into the provided value.
source/source.go:284
↓ 5 callers
Function
updateTestModel
(t *testing.T, m *Model, msg tea.Msg)
cmd/slackdump/internal/ui/cfgui/model_test.go:142
↓ 5 callers
Method
values
values should return the values of the entity.
internal/chunk/backend/dbase/repository/dbobject.go:30
↓ 5 callers
Method
width
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:326
↓ 5 callers
Function
x
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 5 callers
Function
y
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Method
Alias
Alias returns the alias for the given channel ID.
internal/viewer/handlers.go:569
↓ 4 callers
Function
All
()
internal/format/format.go:64
↓ 4 callers
Method
AllOfType
AllOfType should return all entities of a given chunk types.
internal/chunk/backend/dbase/repository/generic.go:49
↓ 4 callers
Function
AtExit
(f func())
cmd/slackdump/internal/golang/base/base.go:107
↓ 4 callers
Method
C
()
internal/chunk/control/processors.go:270
↓ 4 callers
Function
Caller
(steps int)
internal/osext/osext.go:46
↓ 4 callers
Method
Channel
(id string)
internal/viewer/renderer/routes.go:75
↓ 4 callers
Method
Channel
(c *slack.Channel)
internal/chunk/obfuscate/obfuscate.go:301
↓ 4 callers
Function
ChannelType
(ch slack.Channel)
internal/structures/conversation.go:60
↓ 4 callers
Method
CleanupUnfinishedSessions
(ctx context.Context, db *sqlx.DB)
internal/chunk/backend/dbase/repository/cleanup.go:18
↓ 4 callers
Method
Close
Close closes the database connection. It is a noop if the [Source] was created with [Connect].
internal/chunk/backend/dbase/source.go:162
↓ 4 callers
Function
Cn
(r,e,o,i,s)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Method
Convert
Convert converts the chunk directory contents to the export format. It validates the input parameters.
internal/convert/export.go:117
↓ 4 callers
Method
CountThreadOnlyParts
CountThreadOnlyParts should return the number of parts in a complete thread-only thread. If an unfinished or non-existent thread is requested, it shou
internal/chunk/backend/dbase/repository/dbmessage.go:153
↓ 4 callers
Function
CurrentOrNewProviderCtx
(ctx context.Context)
cmd/slackdump/internal/workspace/workspace.go:190
↓ 4 callers
Function
Database
(path string)
cmd/slackdump/internal/bootstrap/database.go:41
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_io/mock_io.go:38
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mock_io/mock_io.go:91
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/control/mock_control/mock_interfaces.go:208
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/chunk/backend/dbase/repository/mock_repository/mock_user.go:43
↓ 4 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
cmd/slackdump/internal/emoji/emojidl/emoji_mock_test.go:39
↓ 4 callers
Method
Error
()
internal/chunk/file.go:565
↓ 4 callers
Method
Exists
Exists returns true if the workspace with name "name" exists in the list of authenticated workspaces.
internal/cache/manager.go:348
↓ 4 callers
Method
Files
Files method is called for each file that is retrieved. The parent message is passed in as well.
processor/processor.go:57
↓ 4 callers
Method
Finish
()
internal/chunk/control/interfaces.go:83
↓ 4 callers
Function
FromReader
FromReader creates a new chunk File from the io.ReadSeeker.
internal/chunk/file.go:79
↓ 4 callers
Method
ID
ID returns a Group ID for the chunk.
internal/chunk/chunk.go:147
↓ 4 callers
Method
Insert
Insert should insert a new session into the database. If the session has a parent session, it should verify that the parent session exists. It should
internal/chunk/backend/dbase/repository/session.go:48
↓ 4 callers
Method
IsCompleteThread
IsCompleteThread should return true, if all messages in the thread for thread-only list entry have been processed. The behaviour of this function is
internal/chunk/control/interfaces.go:68
↓ 4 callers
Function
IsValid
IsValid returns true if the file can be downloaded and is valid.
internal/convert/transform/fileproc/fileproc.go:120
↓ 4 callers
Function
Load
Load deserialises JSON data from reader and returns a ValueAuth, that can be used to authenticate Slackdump. It will return ErrNoToken or ErrNoCookie
auth/auth.go:92
↓ 4 callers
Function
M
(t)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Method
ModTime
ModTime mocks base method.
internal/mocks/mock_os/mock_os.go:59
↓ 4 callers
Method
ModTime
()
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:463
↓ 4 callers
Method
Name
Name returns the full directory path.
internal/chunk/directory.go:303
↓ 4 callers
Function
New
New creates a new file manager model over the filesystem fsys. The base directory is what will be displayed in the file manager. The dir is the curr
cmd/slackdump/internal/ui/bubbles/filemgr/filemgr.go:82
↓ 4 callers
Function
NewAdapter
(runopts *playwright.RunOptions)
auth/browser/pwcompat/pwcompat.go:55
↓ 4 callers
Function
NewAvatarProc
(dl Downloader)
internal/convert/transform/fileproc/avatar.go:31
↓ 4 callers
Function
NewChannelUserRepository
()
internal/chunk/backend/dbase/repository/dbchannelusers.go:65
↓ 4 callers
Function
NewDBWorkspace
(chunkID int64, wi *slack.AuthTestResponse)
internal/chunk/backend/dbase/repository/dbworkspace.go:40
↓ 4 callers
Function
NewDuration
(value *time.Duration, showPrompt bool)
cmd/slackdump/internal/ui/updaters/duration.go:40
↓ 4 callers
Function
NewMockChannels
NewMockChannels creates a new mock instance.
mocks/mock_processor/mock_processor.go:179
↓ 4 callers
Function
NewPicklist
(v *T, s *huh.Select[T])
cmd/slackdump/internal/ui/updaters/picklist.go:37
↓ 4 callers
Function
NewPlaywrightAuth
(ctx context.Context, opts ...Option)
auth/browser.go:59
↓ 4 callers
Function
NewToExport
NewToExport returns the converter from any source to export format. src is the Source to be converted (e.g. chunk or database), trgfs is the target FS
internal/convert/export.go:65
↓ 4 callers
Function
NewToHTML
(src source.Sourcer, trg fsadapter.FS, opts ...Option)
internal/convert/html.go:45
↓ 4 callers
Function
NewWithInfo
NewWithInfo is the same as New, but doesn't call the AuthTest on initialisation. Caller must ensure that the token is valid.
internal/edge/edge.go:122
↓ 4 callers
Function
NewWithPathFn
NewWithPathFn initialises the file processor.
internal/convert/transform/fileproc/fileproc.go:53
↓ 4 callers
Function
NewWorkspaceRepository
()
internal/chunk/backend/dbase/repository/dbworkspace.go:106
↓ 4 callers
Function
On
(e,t,n)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Method
OneForChunk
(ctx context.Context, conn sqlx.QueryerContext, chunkID int64)
internal/chunk/backend/dbase/repository/generic.go:62
↓ 4 callers
Function
OpenMattermostStorage
OpenMattermostStorage returns the resolver for the mattermost export format. rootfs is the root filesystem of the export.
source/filestorage.go:121
↓ 4 callers
Function
ParseDotEnv
(filename string)
auth/env.go:65
↓ 4 callers
Function
ParseURL
ParseURL parses the slack link in the format of https://xxxx.slack.com/archives/XXXXX[/p99999999]
internal/structures/url_parse.go:99
↓ 4 callers
Method
PostFormRaw
(ctx context.Context, url string, form url.Values)
internal/edge/edge.go:254
↓ 4 callers
Function
PrependFiler
PrependFiler prepends the Filer to the Conversations.
processor/processor.go:216
↓ 4 callers
Function
Save
Save serialises authentication information to writer. It will return ErrNoToken or ErrNoCookie if provider fails validation.
auth/auth.go:103
↓ 4 callers
Method
SearchMessagesContext
(ctx context.Context, query string, params slack.SearchParameters)
internal/client/client.go:50
↓ 4 callers
Function
SessionInfo
(mode string)
cmd/slackdump/internal/bootstrap/database.go:60
↓ 4 callers
Function
SortMessages
(msgs []Message)
types/message.go:58
↓ 4 callers
Method
Sorted
Sorted returns all thread and channel messages in ascending or descending time order.
internal/chunk/backend/dbase/repository/dbmessage.go:147
↓ 4 callers
Method
Stop
()
internal/convert/transform/fileproc/fileproc.go:41
↓ 4 callers
Method
String
()
internal/chunk/backend/dbase/repository/dedupe.go:49
↓ 4 callers
Method
Thread
Thread returns the messages for the given thread.
internal/chunk/player.go:166
↓ 4 callers
Function
TimeParse
TimeParse parses a string that can be either a date in 2006-01-02 layout or time in 2006-01-02T15:04:05 layout.
internal/structures/entity_list.go:282
↓ 4 callers
Method
URL
URL mocks base method.
auth/browser/playwright_test.go:289
↓ 4 callers
Method
UsersBulkWithCustom
(ctx context.Context, proc processor.Users, includeLabels bool, ids ...string)
internal/chunk/control/interfaces.go:42
↓ 4 callers
Method
WalkSync
WalkSync is the same as Walk, but it closes the file after the callback is called.
internal/chunk/directory.go:292
↓ 4 callers
Function
WithLogger
WithLogger sets the logger.
internal/convert/convert.go:97
↓ 4 callers
Function
WithMessageDedupeMode
(mode MessageDedupeMode)
internal/chunk/backend/dbase/repository/dedupe.go:63
↓ 4 callers
Function
X
()
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
Xt
(e,t)
internal/viewer/static/htmx.min.js:1
↓ 4 callers
Function
allForID
allForID returns all the messages for the given id.
internal/chunk/file.go:351
↓ 4 callers
Function
apply
apply calls fn for each element of slice elements.
internal/structures/files/files.go:107
↓ 4 callers
Function
applyStyle
(s string, style *slack.RichTextSectionTextStyle)
internal/viewer/renderer/slack_rich_text.go:83
↓ 4 callers
Function
argsWorkspace
argsWorkspace checks if the current workspace override is set, and returns it if it is. Otherwise, it checks the first (with index zero) argument in a
cmd/slackdump/internal/workspace/workspace.go:93
↓ 4 callers
Function
assertFileContents
(t *testing.T, path, want string)
cmd/slackdump/internal/diag/merge_test.go:771
↓ 4 callers
Function
assertHelp
(t *testing.T, b key.Binding, wantKey, wantDesc string)
cmd/slackdump/internal/ui/updaters/date_test.go:145
↓ 4 callers
Function
assertThreadFilesEq
(t *testing.T, tc *threadCache, chanName string, threadTS string, expected []string)
source/export_cache_test.go:78
↓ 4 callers
Function
channelUsersID
(channelID string)
internal/chunk/chunk.go:237
↓ 4 callers
Function
channelsTeamID
channelsTeamID returns the team ID from the first public channel with a known shared team ID.
cmd/slackdump/internal/diag/merge.go:270
↓ 4 callers
Function
checkCount
checkCount returns a utility function to check the count of rows in the table.
internal/chunk/backend/dbase/repository/repository_test.go:79
↓ 4 callers
Method
chunkWrapper
(fn func(p *chunk.Player) http.HandlerFunc)
internal/chunk/chunktest/dirserver.go:70
↓ 4 callers
Method
chunkfileWrapper
(name chunk.FileID, fn func(p *chunk.Player) http.HandlerFunc)
internal/chunk/chunktest/dirserver.go:101
↓ 4 callers
Function
cmdSetValue
cmdSetValue returns a command that sets a value to v, key is implementation specific, may not be used by the caller.
cmd/slackdump/internal/ui/updaters/bool.go:39
↓ 4 callers
Function
collectItems
collectItems starts a goroutine to collect the items. When the return function is called, it waits for the goroutine to finish. It returns the colle
internal/chunk/control/processors_test.go:753
↓ 4 callers
Function
comparecontents
(t *testing.T, f *wrappedfile, want string)
internal/chunk/filemgr_test.go:244
↓ 4 callers
Function
copyfiles
(trgdir string, fs fs.FS)
cmd/slackdump/internal/convertcmd/convert.go:135
↓ 4 callers
Method
ensure
ensure ensures that the file index was generated.
internal/chunk/file.go:147
↓ 4 callers
Function
fetch
fetch 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/emoji.go:104
← previous
next →
501–600 of 4,254, ranked by callers