Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ functions
Functions
11,486 in github.com/cloudreve/cloudreve
⨍
Functions
11,486
◇
Types & classes
1,532
↓ 1 callers
Method
FinishPasskeyLogin
(c *gin.Context)
service/user/passkey.go:91
↓ 1 callers
Method
FinishPasskeyRegister
(c *gin.Context)
service/user/passkey.go:211
↓ 1 callers
Method
First
First returns the first Setting entity from the query. Returns a *NotFoundError when no Setting was found.
ent/setting_query.go:62
↓ 1 callers
Method
First
First returns the first StoragePolicy entity from the query. Returns a *NotFoundError when no StoragePolicy was found.
ent/storagepolicy_query.go:159
↓ 1 callers
Method
First
First returns the first Group entity from the query. Returns a *NotFoundError when no Group was found.
ent/group_query.go:111
↓ 1 callers
Method
First
First returns the first FsEvent entity from the query. Returns a *NotFoundError when no FsEvent was found.
ent/fsevent_query.go:86
↓ 1 callers
Method
First
First returns the first DavAccount entity from the query. Returns a *NotFoundError when no DavAccount was found.
ent/davaccount_query.go:86
↓ 1 callers
Method
First
First returns the first Metadata entity from the query. Returns a *NotFoundError when no Metadata was found.
ent/metadata_query.go:86
↓ 1 callers
Method
First
First returns the first OAuthGrant entity from the query. Returns a *NotFoundError when no OAuthGrant was found.
ent/oauthgrant_query.go:110
↓ 1 callers
Method
First
First returns the first DirectLink entity from the query. Returns a *NotFoundError when no DirectLink was found.
ent/directlink_query.go:86
↓ 1 callers
Method
First
First returns the first Passkey entity from the query. Returns a *NotFoundError when no Passkey was found.
ent/passkey_query.go:86
↓ 1 callers
Method
First
First returns the first Share entity from the query. Returns a *NotFoundError when no Share was found.
ent/share_query.go:111
↓ 1 callers
Method
First
First returns the first OAuthClient entity from the query. Returns a *NotFoundError when no OAuthClient was found.
ent/oauthclient_query.go:87
↓ 1 callers
Method
First
First returns the first Task entity from the query. Returns a *NotFoundError when no Task was found.
ent/task_query.go:86
↓ 1 callers
Method
First
First returns the first Entity entity from the query. Returns a *NotFoundError when no Entity was found.
ent/entity_query.go:135
↓ 1 callers
Method
First
First returns the first File entity from the query. Returns a *NotFoundError when no File was found.
ent/file_query.go:253
↓ 1 callers
Method
First
First returns the first User entity from the query. Returns a *NotFoundError when no User was found.
ent/user_query.go:279
↓ 1 callers
Function
FixedError
FixedError is a hook returning a fixed error.
ent/hook/hook.go:325
↓ 1 callers
Method
FlattenListFiles
FlattenListFiles list files ignoring hierarchy
inventory/file.go:228
↓ 1 callers
Method
Float64
Float64 returns a single float64 from a selector. It is only allowed when selecting one field.
ent/ent.go:449
↓ 1 callers
Method
FolderPropsCacheTTL
FolderPropsCacheTTL returns the cache TTL of folder summary.
pkg/setting/provider.go:176
↓ 1 callers
Method
FolderSummary
()
pkg/filemanager/fs/fs.go:168
↓ 1 callers
Function
FrontendFileHandler
FrontendFileHandler 前端静态文件处理
middleware/frontend.go:13
↓ 1 callers
Function
FrontendHomeUrl
(base *url.URL, path string)
pkg/cluster/routes/routes.go:33
↓ 1 callers
Method
FsEventClient
()
application/dependency/dependency.go:449
↓ 1 callers
Method
GenerateMetadata
GenerateMetadata generates a new encryption metadata
pkg/filemanager/encrypt/encrypt.go:23
↓ 1 callers
Function
GenerateWopiSrc
(ctx context.Context, action types.ViewerAction, viewer *types.Viewer, viewerSession *manager.ViewerSession)
pkg/wopi/wopi.go:62
↓ 1 callers
Method
Get
Get returns a DavAccount entity by its id.
ent/client.go:429
↓ 1 callers
Method
Get
Get returns a DirectLink entity by its id.
ent/client.go:580
↓ 1 callers
Method
Get
Get returns a Entity entity by its id.
ent/client.go:731
↓ 1 callers
Method
Get
Get returns a File entity by its id.
ent/client.go:914
↓ 1 callers
Method
Get
Get returns a FsEvent entity by its id.
ent/client.go:1176
↓ 1 callers
Method
Get
Get returns a Group entity by its id.
ent/client.go:1327
↓ 1 callers
Method
Get
Get returns a Metadata entity by its id.
ent/client.go:1494
↓ 1 callers
Method
Get
Get returns a Node entity by its id.
ent/client.go:1645
↓ 1 callers
Method
Get
Get returns a OAuthClient entity by its id.
ent/client.go:1796
↓ 1 callers
Method
Get
Get returns a OAuthGrant entity by its id.
ent/client.go:1947
↓ 1 callers
Method
Get
Get returns a Passkey entity by its id.
ent/client.go:2114
↓ 1 callers
Method
Get
Get returns a Setting entity by its id.
ent/client.go:2265
↓ 1 callers
Method
Get
Get returns a Share entity by its id.
ent/client.go:2400
↓ 1 callers
Method
Get
Get returns a StoragePolicy entity by its id.
ent/client.go:2567
↓ 1 callers
Method
Get
Get returns a Task entity by its id.
ent/client.go:2766
↓ 1 callers
Method
Get
Get returns a User entity by its id.
ent/client.go:2917
↓ 1 callers
Method
Get
Get redirect to thumb file.
service/explorer/file.go:497
↓ 1 callers
Method
Get
(c *gin.Context)
service/share/visit.go:60
↓ 1 callers
Method
Get
(c *gin.Context)
service/admin/file.go:246
↓ 1 callers
Method
Get
(ctx context.Context, path *fs.URI, opts ...fs.Option)
pkg/filemanager/manager/operation.go:51
↓ 1 callers
Method
GetActiveByDavAccount
GetLoginUserByEmail returns the login user by its WebDAV credentials.
inventory/user.go:65
↓ 1 callers
Method
GetActiveByID
(ctx context.Context, id int)
inventory/user.go:358
↓ 1 callers
Method
GetArchiveDownloadSession
GetArchiveDownloadSession generates temporary download session for archive download.
service/explorer/file.go:387
↓ 1 callers
Method
GetByEmail
(ctx context.Context, email string)
inventory/user.go:350
↓ 1 callers
Method
GetByGUID
GetByGUID returns the OAuth client by its GUID (client_id).
inventory/oauth_client.go:22
↓ 1 callers
Method
GetByGroup
GetByGroup returns the storage policies of the group.
inventory/policy.go:32
↓ 1 callers
Method
GetByHashID
GetByHashID returns a file by its hashID.
inventory/file.go:153
↓ 1 callers
Method
GetByID
(ctx context.Context, id int)
inventory/share.go:166
↓ 1 callers
Method
GetByIDUser
GetByIDUser returns the share with given id and user id.
inventory/share.go:41
↓ 1 callers
Method
GetByNameID
GetByNameID get direct link by name and id
inventory/direct_link.go:17
↓ 1 callers
Function
GetCaptchaImage
GetCaptchaImage generates captcha session
service/basic/site.go:227
↓ 1 callers
Method
GetChildFile
Search file by name from a given root. eagerLoading indicates whether to load edges determined by ctx.
inventory/file.go:157
↓ 1 callers
Method
GetClient
()
inventory/tx.go:13
↓ 1 callers
Method
GetDirectLink
GetDirectLink gets permanent direct download link of given files
pkg/filemanager/manager/entity.go:29
↓ 1 callers
Method
GetEntitiesByIDs
GetEntitiesByIDs returns entities with given IDs. The result is paginated. Caller should keep calling this until returned next page is negative.
inventory/file.go:171
↓ 1 callers
Method
GetFile
(c *gin.Context)
service/explorer/viewer.go:289
↓ 1 callers
Method
GetFileFromDirectLink
GetFileFromDirectLink gets a file from a direct link.
pkg/filemanager/fs/fs.go:97
↓ 1 callers
Method
GetGrantsByUserID
GetGrantsByUserID returns the OAuth grants for a user.
inventory/oauth_client.go:45
↓ 1 callers
Method
GetNodeByIds
GetNodeByIds returns the nodes by ids.
inventory/node.go:21
↓ 1 callers
Method
GetNodeSetting
GetNodeSetting returns the node settings and its hash
middleware/cluster.go:18
↓ 1 callers
Method
GetOAuth
GetOAuth 获取 OneDrive OAuth 地址
service/admin/policy.go:403
↓ 1 callers
Method
GetOauthCredentialStatus
GetOauthCredentialStatus returns last refresh time of oauth credential
service/admin/policy.go:436
↓ 1 callers
Method
GetParentFile
GetParentFile returns the parent folder of a given file
inventory/file.go:155
↓ 1 callers
Method
GetPendingTasks
GetPendingTasks returns all pending tasks of given type.
inventory/task.go:39
↓ 1 callers
Function
GetPolicyOAuthURL
(c *gin.Context)
service/admin/policy.go:430
↓ 1 callers
Function
GetPublicKey
GetPublicKey 从回调请求或缓存中获取OSS的回调签名公钥
pkg/filemanager/driver/oss/callback.go:30
↓ 1 callers
Function
GetQueueMetrics
(c *gin.Context)
service/admin/task.go:21
↓ 1 callers
Function
GetSession
GetSession 获取session
pkg/util/session.go:22
↓ 1 callers
Method
GetSetting
(c *gin.Context)
service/admin/site.go:193
↓ 1 callers
Method
GetSharePointDriverRoot
(c *gin.Context)
service/admin/policy.go:507
↓ 1 callers
Method
GetSiteConfig
(c *gin.Context)
service/basic/site.go:85
↓ 1 callers
Method
GetSiteIDByURL
(ctx context.Context, siteUrl string)
pkg/filemanager/driver/onedrive/client.go:34
↓ 1 callers
Method
GetSubscribers
Get subscribers of a topic.
pkg/filemanager/eventhub/eventhub.go:24
↓ 1 callers
Method
GetThumb
GetThumb 生成给定最大尺寸的缩略图
pkg/thumb/builtin.go:81
↓ 1 callers
Method
GetThumbURL
(ctx context.Context, dst string)
pkg/filemanager/driver/onedrive/client.go:40
↓ 1 callers
Method
GetType
GetType returns the value of the "type" field in the mutation.
ent/mutation.go:1972
↓ 1 callers
Method
GetType
GetType returns the value of the "type" field in the mutation.
ent/mutation.go:7449
↓ 1 callers
Method
GetType
GetType returns the value of the "type" field in the mutation.
ent/mutation.go:12810
↓ 1 callers
Method
GetType
GetType returns the value of the "type" field in the mutation.
ent/mutation.go:14394
↓ 1 callers
Method
GetUploadURL
GetUploadURL signs an url for uploading file
pkg/filemanager/driver/remote/client.go:40
↓ 1 callers
Method
GetUris
()
middleware/file.go:16
↓ 1 callers
Method
GetUrlForRedirectedDirectLink
GetUrlForRedirectedDirectLink gets redirected direct download link of given direct link
pkg/filemanager/manager/entity.go:27
↓ 1 callers
Function
GetUser
(c *gin.Context)
service/user/info.go:16
↓ 1 callers
Function
GetUserCapacity
(c *gin.Context)
service/user/info.go:24
↓ 1 callers
Method
GetUserInfo
GetUserInfo returns OpenID Connect userinfo based on the access token's scopes. The response fields are conditionally included based on granted scopes
service/oauth/oauth.go:271
↓ 1 callers
Function
GetUserSettings
Settings 获取用户设定
service/user/setting.go:125
↓ 1 callers
Method
GetVersion
()
pkg/downloader/aria2/rpc/proto.go:33
↓ 1 callers
Method
GetView
GetView returns the view setting of the given file.
pkg/filemanager/fs/dbfs/navigator.go:57
↓ 1 callers
Method
Gets
批量取值,返回成功取值的map即不存在的值
pkg/cache/driver.go:20
↓ 1 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/setting_query.go:272
↓ 1 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/storagepolicy_query.go:417
↓ 1 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/group_query.go:345
↓ 1 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/fsevent_query.go:308
← previous
next →
2,701–2,800 of 11,486, ranked by callers