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
↓ 2 callers
Function
validateHost
(ctx context.Context, host string, opt SSRFOptions)
pkg/request/ssrf.go:130
↓ 2 callers
Function
validateNewFile
validateNewFile validates the upload request.
pkg/filemanager/fs/dbfs/validator.go:76
↓ 2 callers
Method
validateUserCapacity
(ctx context.Context, size int64, u *ent.User)
pkg/filemanager/fs/dbfs/validator.go:96
↓ 2 callers
Method
validateUserCapacityRaw
validateUserCapacityRaw validates the user capacity, but does not fetch the capacity.
pkg/filemanager/fs/dbfs/validator.go:106
↓ 2 callers
Function
withDirectLinkEagerLoading
(ctx context.Context, q *ent.DirectLinkQuery)
inventory/direct_link.go:72
↓ 2 callers
Method
write
Write validates and emits a DAV response as part of a multistatus response element. It sets the HTTP status code of its underlying http.ResponseWrite
pkg/webdav/xml.go:329
↓ 2 callers
Function
xmlLang
(s ixml.StartElement, d string)
pkg/webdav/xml.go:406
↓ 1 callers
Function
ActivateUser
ActivateUser 激活用户
service/user/register.go:124
↓ 1 callers
Method
ActivationEmailTemplate
ActivationEmailTemplate returns the email template for activation.
pkg/setting/provider.go:56
↓ 1 callers
Method
AddChildIDs
AddChildIDs adds the "children" edge to the File entity by IDs.
ent/file_update.go:1097
↓ 1 callers
Method
AddChildIDs
AddChildIDs adds the "children" edge to the File entity by IDs.
ent/file_create.go:198
↓ 1 callers
Method
AddDavAccountIDs
AddDavAccountIDs adds the "dav_accounts" edge to the DavAccount entity by IDs.
ent/user_create.go:198
↓ 1 callers
Method
AddDavAccountIDs
AddDavAccountIDs adds the "dav_accounts" edge to the DavAccount entity by IDs.
ent/user_update.go:1262
↓ 1 callers
Method
AddDirectLinkIDs
AddDirectLinkIDs adds the "direct_links" edge to the DirectLink entity by IDs.
ent/file_update.go:1157
↓ 1 callers
Method
AddDirectLinkIDs
AddDirectLinkIDs adds the "direct_links" edge to the DirectLink entity by IDs.
ent/file_create.go:258
↓ 1 callers
Method
AddDownloads
AddDownloads adds i to the "downloads" field.
ent/share_update.go:117
↓ 1 callers
Method
AddDownloads
AddDownloads adds i to the "downloads" field.
ent/mutation.go:1230
↓ 1 callers
Method
AddDownloads
AddDownloads adds i to the "downloads" field.
ent/directlink_update.go:88
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/file_update.go:1127
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/file_create.go:228
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/storagepolicy_update.go:1004
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/user_create.go:273
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/user_update.go:1337
↓ 1 callers
Method
AddEntityIDs
AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
ent/storagepolicy_create.go:247
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "file" edge to the File entity by IDs.
ent/entity_create.go:145
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "files" edge to the File entity by IDs.
ent/storagepolicy_update.go:989
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "file" edge to the File entity by IDs.
ent/entity_update.go:685
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "files" edge to the File entity by IDs.
ent/user_create.go:183
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "files" edge to the File entity by IDs.
ent/user_update.go:1247
↓ 1 callers
Method
AddFileIDs
AddFileIDs adds the "files" edge to the File entity by IDs.
ent/storagepolicy_create.go:232
↓ 1 callers
Method
AddFseventIDs
AddFseventIDs adds the "fsevents" edge to the FsEvent entity by IDs.
ent/user_create.go:258
↓ 1 callers
Method
AddFseventIDs
AddFseventIDs adds the "fsevents" edge to the FsEvent entity by IDs.
ent/user_update.go:1322
↓ 1 callers
Method
AddGrantIDs
AddGrantIDs adds the "grants" edge to the OAuthGrant entity by IDs.
ent/oauthclient_update.go:530
↓ 1 callers
Method
AddGrantIDs
AddGrantIDs adds the "grants" edge to the OAuthGrant entity by IDs.
ent/oauthclient_create.go:134
↓ 1 callers
Method
AddGroupIDs
AddGroupIDs adds the "groups" edge to the Group entity by IDs.
ent/storagepolicy_update.go:974
↓ 1 callers
Method
AddGroupIDs
AddGroupIDs adds the "groups" edge to the Group entity by IDs.
ent/storagepolicy_create.go:217
↓ 1 callers
Method
AddMaxSize
AddMaxSize adds i to the "max_size" field.
ent/storagepolicy_update.go:206
↓ 1 callers
Method
AddMaxSize
AddMaxSize adds i to the "max_size" field.
ent/mutation.go:13118
↓ 1 callers
Method
AddMaxStorage
AddMaxStorage adds i to the "max_storage" field.
ent/group_update.go:91
↓ 1 callers
Method
AddMaxStorage
AddMaxStorage adds i to the "max_storage" field.
ent/mutation.go:5632
↓ 1 callers
Method
AddMetadatumIDs
AddMetadatumIDs adds the "metadata" edge to the Metadata entity by IDs.
ent/file_update.go:1112
↓ 1 callers
Method
AddMetadatumIDs
AddMetadatumIDs adds the "metadata" edge to the Metadata entity by IDs.
ent/file_create.go:213
↓ 1 callers
Method
AddOauthGrantIDs
AddOauthGrantIDs adds the "oauth_grants" edge to the OAuthGrant entity by IDs.
ent/user_create.go:288
↓ 1 callers
Method
AddOauthGrantIDs
AddOauthGrantIDs adds the "oauth_grants" edge to the OAuthGrant entity by IDs.
ent/user_update.go:1352
↓ 1 callers
Method
AddPasskey
AddPasskey add passkey to user.
inventory/user.go:83
↓ 1 callers
Method
AddPasskeyIDs
AddPasskeyIDs adds the "passkey" edge to the Passkey entity by IDs.
ent/user_create.go:228
↓ 1 callers
Method
AddPasskeyIDs
AddPasskeyIDs adds the "passkey" edge to the Passkey entity by IDs.
ent/user_update.go:1292
↓ 1 callers
Method
AddPrimaryEntity
AddPrimaryEntity adds i to the "primary_entity" field.
ent/file_update.go:138
↓ 1 callers
Method
AddPrimaryEntity
AddPrimaryEntity adds i to the "primary_entity" field.
ent/mutation.go:3404
↓ 1 callers
Method
AddReferenceCount
AddReferenceCount adds i to the "reference_count" field.
ent/entity_update.go:134
↓ 1 callers
Method
AddRemainDownloads
AddRemainDownloads adds i to the "remain_downloads" field.
ent/share_update.go:158
↓ 1 callers
Method
AddShareIDs
AddShareIDs adds the "shares" edge to the Share entity by IDs.
ent/file_update.go:1142
↓ 1 callers
Method
AddShareIDs
AddShareIDs adds the "shares" edge to the Share entity by IDs.
ent/file_create.go:243
↓ 1 callers
Method
AddShareIDs
AddShareIDs adds the "shares" edge to the Share entity by IDs.
ent/user_create.go:213
↓ 1 callers
Method
AddShareIDs
AddShareIDs adds the "shares" edge to the Share entity by IDs.
ent/user_update.go:1277
↓ 1 callers
Method
AddSize
AddSize adds i to the "size" field.
ent/file_update.go:117
↓ 1 callers
Method
AddSize
AddSize adds i to the "size" field.
ent/entity_update.go:113
↓ 1 callers
Method
AddSize
AddSize adds i to the "size" field.
ent/mutation.go:2090
↓ 1 callers
Method
AddSize
AddSize adds i to the "size" field.
ent/mutation.go:3348
↓ 1 callers
Method
AddSpeed
AddSpeed adds i to the "speed" field.
ent/mutation.go:1322
↓ 1 callers
Method
AddSpeed
AddSpeed adds i to the "speed" field.
ent/directlink_update.go:123
↓ 1 callers
Method
AddSpeedLimit
AddSpeedLimit adds i to the "speed_limit" field.
ent/group_update.go:118
↓ 1 callers
Method
AddSpeedLimit
AddSpeedLimit adds i to the "speed_limit" field.
ent/mutation.go:5702
↓ 1 callers
Method
AddStorage
AddStorage adds i to the "storage" field.
ent/user_update.go:145
↓ 1 callers
Method
AddStoragePolicyIDs
AddStoragePolicyIDs adds the "storage_policy" edge to the StoragePolicy entity by IDs.
ent/node_create.go:143
↓ 1 callers
Method
AddStoragePolicyIDs
AddStoragePolicyIDs adds the "storage_policy" edge to the StoragePolicy entity by IDs.
ent/node_update.go:549
↓ 1 callers
Method
AddTaskIDs
AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
ent/user_create.go:243
↓ 1 callers
Method
AddTaskIDs
AddTaskIDs adds the "tasks" edge to the Task entity by IDs.
ent/user_update.go:1307
↓ 1 callers
Method
AddType
AddType adds i to the "type" field.
ent/file_update.go:68
↓ 1 callers
Method
AddType
AddType adds i to the "type" field.
ent/entity_update.go:78
↓ 1 callers
Method
AddType
AddType adds i to the "type" field.
ent/mutation.go:1998
↓ 1 callers
Method
AddType
AddType adds i to the "type" field.
ent/mutation.go:3220
↓ 1 callers
Method
AddURI
(uri string, options ...interface{})
pkg/downloader/aria2/rpc/proto.go:5
↓ 1 callers
Method
AddUserIDs
AddUserIDs adds the "users" edge to the User entity by IDs.
ent/group_update.go:550
↓ 1 callers
Method
AddUserIDs
AddUserIDs adds the "users" edge to the User entity by IDs.
ent/group_create.go:132
↓ 1 callers
Method
AddViews
AddViews adds i to the "views" field.
ent/share_update.go:96
↓ 1 callers
Method
AddWeight
AddWeight adds i to the "weight" field.
ent/mutation.go:7695
↓ 1 callers
Method
AddWeight
AddWeight adds i to the "weight" field.
ent/node_update.go:176
↓ 1 callers
Method
AddedDownloads
AddedDownloads returns the value that was added to the "downloads" field in this mutation.
ent/mutation.go:1239
↓ 1 callers
Method
AddedSize
AddedSize returns the value that was added to the "size" field in this mutation.
ent/mutation.go:2099
↓ 1 callers
Method
AddedType
AddedType returns the value that was added to the "type" field in this mutation.
ent/mutation.go:2007
↓ 1 callers
Method
AllFilesInTrashBin
AllFilesInTrashBin returns all files in trash bin, despite owner.
pkg/filemanager/fs/fs.go:62
↓ 1 callers
Method
AnonymousGroup
AnonymousGroup returns the anonymous group.
inventory/group.go:26
↓ 1 callers
Method
AnonymousUser
(ctx context.Context)
inventory/user.go:433
↓ 1 callers
Method
AppendRedirectUris
AppendRedirectUris appends s to the "redirect_uris" field.
ent/oauthclient_update.go:129
↓ 1 callers
Method
AppendScopes
AppendScopes appends s to the "scopes" field.
ent/oauthgrant_update.go:95
↓ 1 callers
Method
AppendScopes
AppendScopes appends s to the "scopes" field.
ent/oauthclient_update.go:141
↓ 1 callers
Method
ArchiveDownloadSessionTTL
ArchiveDownloadSessionTTL returns the TTL of archive download session.
pkg/setting/provider.go:186
↓ 1 callers
Method
AuthInstance
AuthInstance returns the auth instance for the node.
pkg/cluster/node.go:43
↓ 1 callers
Method
Avatar
Avatar returns the value of the "avatar" field in the mutation.
ent/mutation.go:15591
↓ 1 callers
Method
AvatarProcess
AvatarProcess returns the avatar process settings.
pkg/setting/provider.go:192
↓ 1 callers
Method
BatchDelete
(ctx context.Context, dst []string)
pkg/filemanager/driver/onedrive/client.go:39
↓ 1 callers
Function
BuildAppRegistration
(app *ent.OAuthClient, grant *ent.OAuthGrant)
service/oauth/response.go:22
↓ 1 callers
Function
BuildArchiveListFilesResponse
(files []manager.ArchivedFile)
service/explorer/response.go:55
↓ 1 callers
Function
BuildDirectLink
(d *ent.DirectLink, hasher hashid.Encoder, base *url.URL)
service/explorer/response.go:467
↓ 1 callers
Function
BuildDirectLinkResponse
(links []manager.DirectLink)
service/explorer/response.go:71
↓ 1 callers
Function
BuildEntity
(ctx context.Context, extendedInfo *fs.FileExtendedInfo, e fs.Entity, hasher hashid.Encoder)
service/explorer/response.go:476
↓ 1 callers
Function
BuildExtendedInfo
(ctx context.Context, u *ent.User, f fs.File, hasher hashid.Encoder)
service/explorer/response.go:436
↓ 1 callers
Function
BuildFullTextSearchResults
(ctx context.Context, user *ent.User, hasher hashid.Encoder, results *manager.FullTextSearchResults)
service/explorer/response.go:34
↓ 1 callers
Function
BuildGroup
(group *ent.Group, idEncoder hashid.Encoder)
service/user/response.go:206
← previous
next →
2,001–2,100 of 11,486, ranked by callers