Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mrs4s/six-cli
/ functions
Functions
105 in github.com/Mrs4s/six-cli
⨍
Functions
105
◇
Types & classes
10
↓ 12 callers
Method
PostJsonObject
(url string, body B)
models/httpclient.go:36
↓ 8 callers
Method
GetFilesByPath
(path string)
six_cloud/user.go:34
↓ 7 callers
Function
CombinePaths
(path1, path2, sep string)
models/tools.go:18
↓ 7 callers
Function
ConvertSizeString
(size int64)
models/tools.go:35
↓ 7 callers
Function
FilterStrings
(arr []string, filter func(string) bool)
models/tools.go:127
↓ 7 callers
Function
GetFileName
(path string)
models/fs/tools.go:10
↓ 5 callers
Function
GetParentPath
(path string)
models/fs/tools.go:45
↓ 5 callers
Function
LoginWithAccessToken
(token string)
six_cloud/six_cloud.go:125
↓ 4 callers
Function
NewSixHttpClient
(token string)
models/httpclient.go:22
↓ 4 callers
Function
PathCompleter
(c *pl.Context, f bool)
shell/commands/handler.go:47
↓ 4 callers
Function
SelectStrings
(arr []string, selector func(string) string)
models/tools.go:119
↓ 4 callers
Function
filterCurrentFiles
()
shell/commands/handler.go:117
↓ 3 callers
Method
GetBytes
(url string)
models/httpclient.go:71
↓ 3 callers
Method
GetDownloadAddress
()
six_cloud/file.go:9
↓ 3 callers
Method
GetFileByPath
(path string)
six_cloud/user.go:44
↓ 3 callers
Function
PathExists
(path string)
models/fs/tools.go:40
↓ 3 callers
Method
PostJson
(url, body string)
models/httpclient.go:44
↓ 3 callers
Method
SaveFile
(file string)
models/config.go:40
↓ 3 callers
Function
filterCurrentDirs
()
shell/commands/handler.go:100
↓ 3 callers
Function
filterDirs
(files []*six_cloud.SixFile)
shell/commands/handler.go:108
↓ 2 callers
Function
CreateDestination
()
six_cloud/six_cloud.go:94
↓ 2 callers
Method
CreateDirectory
(path string)
six_cloud/user.go:83
↓ 2 callers
Method
GetOfflineTasks
()
six_cloud/user.go:59
↓ 2 callers
Function
LoginWithWebToken
(dest, state string)
six_cloud/six_cloud.go:104
↓ 2 callers
Method
PreparseOffline
(url, pass string)
six_cloud/user.go:120
↓ 2 callers
Method
RefreshUserInfo
()
six_cloud/user.go:23
↓ 2 callers
Function
ShellMatch
(str, p string)
models/tools.go:90
↓ 2 callers
Function
ShortPath
(path string, length int)
models/tools.go:66
↓ 2 callers
Function
ShortString
(str string, length int)
models/tools.go:52
↓ 2 callers
Function
ToIdentity
(path string)
models/tools.go:74
↓ 2 callers
Function
ToMd5
(str string)
models/tools.go:12
↓ 2 callers
Function
filterFiles
(files []*six_cloud.SixFile)
shell/commands/handler.go:125
↓ 2 callers
Function
parseFiles
(list []gjson.Result)
six_cloud/user.go:163
↓ 2 callers
Function
printUserList
()
shell/commands/handler.go:37
↓ 2 callers
Function
refreshPrompt
()
shell/commands/handler.go:29
↓ 1 callers
Method
AddOfflineTask
(hash, path string)
six_cloud/user.go:128
↓ 1 callers
Function
ComputeFileEtag
(filename string)
models/fs/hash.go:12
↓ 1 callers
Method
Copy
(c *pl.Context)
shell/commands/copy.go:11
↓ 1 callers
Method
CreateUploadToken
(path, name, hash string)
six_cloud/user.go:152
↓ 1 callers
Method
CreateUploadTree
(remote string, files []string)
six_cloud/user.go:136
↓ 1 callers
Method
DeleteFile
(path string)
six_cloud/user.go:91
↓ 1 callers
Method
GetChildren
()
six_cloud/file.go:13
↓ 1 callers
Function
GetDirEntities
(path string)
models/fs/tools.go:28
↓ 1 callers
Method
GetDownloadAddressByPath
(path string)
six_cloud/user.go:75
↓ 1 callers
Function
GetFileExtension
(file string)
models/tools.go:85
↓ 1 callers
Method
GetLocalTree
(localPath string)
six_cloud/file.go:18
↓ 1 callers
Method
GetString
(url string)
models/httpclient.go:97
↓ 1 callers
Function
IsDir
(path string)
models/fs/tools.go:23
↓ 1 callers
Function
LoadConfig
(file string)
models/config.go:27
↓ 1 callers
Function
RunAsCli
(handler pl.IHandler)
shell/shell.go:66
↓ 1 callers
Function
RunAsShell
(handler pl.IHandler)
shell/shell.go:18
↓ 1 callers
Method
SearchFilesByName
(parent, name string)
six_cloud/user.go:108
↓ 1 callers
Method
StatusStr
()
six_cloud/six_cloud.go:137
↓ 1 callers
Function
blockCount
(size int64)
models/fs/hash.go:57
↓ 1 callers
Function
computeSha1
(b []byte, r io.Reader)
models/fs/hash.go:61
↓ 1 callers
Function
filterFileArray
(arr []*six_cloud.SixFile, filter func(*six_cloud.SixFile) bool)
shell/commands/handler.go:134
↓ 1 callers
Function
previewText
(file *six_cloud.SixFile)
shell/commands/preview.go:51
↓ 1 callers
Function
previewTorrent
(file *six_cloud.SixFile)
shell/commands/preview.go:69
Method
Alias
()
shell/commands/handler.go:21
Method
CheckSum
(c *pl.Context)
shell/commands/cksum.go:19
Method
CheckSumCompleter
(c *pl.Context)
shell/commands/cksum.go:46
Method
Config
(c *pl.Context)
shell/commands/config.go:10
Method
CopyCompleter
(c *pl.Context)
shell/commands/copy.go:35
Method
CopyFile
(source, target string)
six_cloud/user.go:99
Method
Delete
(c *pl.Context)
shell/commands/rm.go:17
Method
DeleteCompleter
(c *pl.Context)
shell/commands/rm.go:38
Method
Download
(c *pl.Context)
shell/commands/download.go:22
Method
DownloadCompleter
(c *pl.Context)
shell/commands/download.go:141
Method
Explains
()
shell/commands/handler.go:25
Method
Find
(c *pl.Context)
shell/commands/find.go:19
Method
GetRootFile
()
six_cloud/user.go:12
Method
JoinPath
(c *pl.Context)
shell/commands/cd.go:17
Method
JoinPathCompleter
(c *pl.Context)
shell/commands/cd.go:58
Method
List
(c *pl.Context)
shell/commands/ls.go:19
Method
Login
(c *pl.Context)
shell/commands/login.go:18
Function
LoginWithUsernameOrPhone
(value, password string)
six_cloud/six_cloud.go:78
Method
Mkdir
(c *pl.Context)
shell/commands/mkdir.go:16
Method
Move
()
shell/commands/move.go:7
Method
Offline
Offline command
shell/commands/offline.go:18
Method
Preview
(c *pl.Context)
shell/commands/preview.go:20
Method
PreviewCompleter
(c *pl.Context)
shell/commands/preview.go:117
Method
Pwd
(c *pl.Context)
shell/commands/pwd.go:14
Method
Switch
(c *pl.Context)
shell/commands/switch.go:12
Function
TestIdentity
(t *testing.T)
six_cloud/six_cloud_test.go:44
Function
TestLogin
(t *testing.T)
six_cloud/six_cloud_test.go:30
Function
TestOffline
(t *testing.T)
six_cloud/six_cloud_test.go:36
Function
TestTokenLogin
(t *testing.T)
six_cloud/six_cloud_test.go:10
Method
Upload
(c *pl.Context)
shell/commands/upload.go:18
Function
init
()
shell/commands/offline.go:13
Function
init
()
shell/commands/preview.go:16
Function
init
()
shell/commands/find.go:14
Function
init
()
shell/commands/pwd.go:9
Function
init
()
shell/commands/mkdir.go:11
Function
init
()
shell/commands/copy.go:7
Function
init
()
shell/commands/upload.go:13
Function
init
()
shell/commands/cksum.go:14
Function
init
()
shell/commands/login.go:13
Function
init
()
shell/commands/download.go:17
Function
init
()
shell/commands/rm.go:12
Function
init
()
shell/commands/config.go:5
next →
1–100 of 105, ranked by callers