MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 3 callersMethodPutContent
(c *gin.Context, isPutRelative bool)
service/explorer/viewer.go:158
↓ 3 callersMethodQueryMetadata
QueryMetadata load metadata of a given file
inventory/file.go:203
↓ 3 callersMethodRecycleEntities
RecycleEntities recycles a group of entities
pkg/filemanager/manager/entity.go:43
↓ 3 callersFunctionRegister
Register registers a cron task.
pkg/crontab/crontab.go:29
↓ 3 callersFunctionReplaceMagicVar
ReplaceMagicVar 动态替换字符串中的魔法变量
pkg/util/common.go:120
↓ 3 callersFunctionRequest
Request helper fund to log request.
pkg/logging/logger.go:174
↓ 3 callersFunctionRequestInfoFromContext
RequestInfoFromContext retrieves RequestInfo from context
pkg/auth/requestinfo/requestinfo.go:11
↓ 3 callersMethodResetMaxSize
ResetMaxSize resets all changes to the "max_size" field.
ent/mutation.go:13149
↓ 3 callersMethodResetMaxStorage
ResetMaxStorage resets all changes to the "max_storage" field.
ent/mutation.go:5663
↓ 3 callersMethodResetPrimaryEntity
ResetPrimaryEntity resets all changes to the "primary_entity" field.
ent/mutation.go:3435
↓ 3 callersMethodResetReferenceCount
ResetReferenceCount resets all changes to the "reference_count" field.
ent/mutation.go:2164
↓ 3 callersMethodResetRemainDownloads
ResetRemainDownloads resets all changes to the "remain_downloads" field.
ent/mutation.go:11947
↓ 3 callersMethodResetSpeed
ResetSpeed resets all changes to the "speed" field.
ent/mutation.go:1340
↓ 3 callersMethodResetSpeedLimit
ResetSpeedLimit resets all changes to the "speed_limit" field.
ent/mutation.go:5733
↓ 3 callersMethodResetStorage
ResetStorage resets all changes to the "storage" field.
ent/mutation.go:15531
↓ 3 callersMethodResetViews
ResetViews resets all changes to the "views" field.
ent/mutation.go:11773
↓ 3 callersMethodResetWeight
ResetWeight resets all changes to the "weight" field.
ent/mutation.go:7713
↓ 3 callersMethodRootUri
RootUri return the URI of the user root file under owner's view.
pkg/filemanager/fs/fs.go:159
↓ 3 callersMethodSave
Save creates the File in the database.
ent/file_create.go:278
↓ 3 callersMethodSave
Save creates the Entity in the database.
ent/entity_create.go:195
↓ 3 callersMethodSave
Save creates the Node in the database.
ent/node_create.go:163
↓ 3 callersMethodSave
Save creates the FsEvent in the database.
ent/fsevent_create.go:120
↓ 3 callersMethodSave
Save creates the OAuthGrant in the database.
ent/oauthgrant_create.go:117
↓ 3 callersMethodSave
Save creates the Passkey in the database.
ent/passkey_create.go:118
↓ 3 callersMethodSave
Save creates the User in the database.
ent/user_create.go:308
↓ 3 callersMethodSave
Save creates the Share in the database.
ent/share_create.go:190
↓ 3 callersMethodSave
Save creates the DavAccount in the database.
ent/davaccount_create.go:117
↓ 3 callersMethodSave
Save creates the Task in the database.
ent/task_create.go:163
↓ 3 callersMethodSave
Save creates the Setting in the database.
ent/setting_create.go:93
↓ 3 callersMethodSave
Save creates the Metadata in the database.
ent/metadata_create.go:111
↓ 3 callersMethodSave
Save creates the Group in the database.
ent/group_create.go:171
↓ 3 callersMethodSave
Save creates the OAuthClient in the database.
ent/oauthclient_create.go:154
↓ 3 callersMethodSave
Save creates the DirectLink in the database.
ent/directlink_create.go:103
↓ 3 callersMethodSave
Save creates the StoragePolicy in the database.
ent/storagepolicy_create.go:272
↓ 3 callersMethodSearch
(ctx context.Context, ownerID int, query string, offset int)
pkg/searcher/indexer.go:37
↓ 3 callersMethodSend
Send 发送邮件
pkg/email/mail.go:13
↓ 3 callersMethodSetClientID
SetClientID sets the "client_id" field.
ent/oauthgrant_update.go:75
↓ 3 callersMethodSetEvent
SetEvent sets the "event" field.
ent/mutation.go:4849
↓ 3 callersMethodSetFileID
SetFileID sets the "file" edge to the File entity by ID.
ent/share_update.go:201
↓ 3 callersMethodSetFileID
SetFileID sets the "file_id" field.
ent/metadata_update.go:87
↓ 3 callersMethodSetFileID
SetFileID sets the "file_id" field.
ent/directlink_update.go:94
↓ 3 callersMethodSetHomepageURL
SetHomepageURL sets the "homepage_url" field.
ent/mutation.go:8555
↓ 3 callersMethodSetLastUsedAt
SetLastUsedAt sets the "last_used_at" field.
ent/mutation.go:9596
↓ 3 callersMethodSetNillableExpires
SetNillableExpires sets the "expires" field if the given value is not nil.
ent/share_update.go:129
↓ 3 callersMethodSetNodeID
SetNodeID sets the "node_id" field.
ent/storagepolicy_update.go:270
↓ 3 callersMethodSetOwnerID
SetOwnerID sets the "owner_id" field.
ent/file_update.go:88
↓ 3 callersMethodSetOwnerID
SetOwnerID sets the "owner_id" field.
ent/davaccount_update.go:121
↓ 3 callersMethodSetParentID
SetParentID sets the "parent" edge to the File entity by ID.
ent/file_update.go:240
↓ 3 callersMethodSetPrivateState
SetPrivateState sets the "private_state" field.
ent/mutation.go:14497
↓ 3 callersMethodSetPublicState
SetPublicState sets the "public_state" field.
ent/mutation.go:14461
↓ 3 callersMethodSetSpeed
SetSpeed sets the "speed" field.
ent/mutation.go:1290
↓ 3 callersMethodSetStorage
SetStorage sets the "storage" field.
ent/mutation.go:15481
↓ 3 callersMethodSetStoragePoliciesID
SetStoragePoliciesID sets the "storage_policies" edge to the StoragePolicy entity by ID.
ent/group_update.go:183
↓ 3 callersMethodSetStoragePoliciesID
SetStoragePoliciesID sets the "storage_policies" edge to the StoragePolicy entity by ID.
ent/file_update.go:221
↓ 3 callersMethodSetTwoFactorSecret
SetTwoFactorSecret sets the "two_factor_secret" field.
ent/mutation.go:15537
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/group_update.go:36
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/davaccount_update.go:35
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/fsevent_update.go:34
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/share_update.go:35
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/setting_update.go:32
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/metadata_update.go:33
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/storagepolicy_update.go:37
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/task_update.go:34
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/entity_update.go:37
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/passkey_update.go:34
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/oauthgrant_update.go:35
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/oauthclient_update.go:35
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/node_update.go:35
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/directlink_update.go:33
↓ 3 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/user_update.go:42
↓ 3 callersMethodSetUser
SetUser manually set the edge as loaded state.
ent/task.go:237
↓ 3 callersFunctionSetUserCtxByUser
(c *gin.Context, user *ent.User)
middleware/auth.go:86
↓ 3 callersMethodSetUserID
SetUserID sets the "user" edge to the User entity by ID.
ent/fsevent_update.go:108
↓ 3 callersMethodSetUserID
SetUserID sets the "user" edge to the User entity by ID.
ent/share_update.go:182
↓ 3 callersMethodSetUserID
SetUserID sets the "user" edge to the User entity by ID.
ent/task_update.go:134
↓ 3 callersMethodSetUserID
SetUserID sets the "user" edge to the User entity by ID.
ent/entity_update.go:221
↓ 3 callersMethodSetUserID
SetUserID sets the "user_id" field.
ent/passkey_update.go:60
↓ 3 callersMethodSetUserID
SetUserID sets the "user_id" field.
ent/oauthgrant_update.go:61
↓ 3 callersMethodSettingClient
SettingClient Get a singleton inventory.SettingClient instance for access DB setting store.
application/dependency/dependency.go:72
↓ 3 callersMethodSizeUsed
()
pkg/filemanager/fs/dbfs/file.go:123
↓ 3 callersMethodSkip
Skip reads tokens until it has consumed the end element matching the most recent start element already consumed. It recurs if it encounters a start el
pkg/webdav/internal/xml/read.go:677
↓ 3 callersFunctionSniffContentLength
SniffContentLength tries to get the content length from the request. It also returns a reader that will limit to the sniffed content length.
pkg/request/utils.go:21
↓ 3 callersMethodStart
Start returns the byte index of current chunk
pkg/filemanager/chunk/chunk.go:134
↓ 3 callersFunctionStatusIn
StatusIn applies the In predicate on the "status" field.
ent/task/where.go:300
↓ 3 callersFunctionStatusValidator
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
ent/user/user.go:199
↓ 3 callersFunctionStatusValidator
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
ent/task/task.go:111
↓ 3 callersFunctionStatusValidator
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
ent/node/node.go:115
↓ 3 callersFunctionStoragePolicyEntities
StoragePolicyEntities applies equality check predicate on the "storage_policy_entities" field. It's identical to StoragePolicyEntitiesEQ.
ent/entity/where.go:95
↓ 3 callersFunctionSubscriber
Subscriber applies equality check predicate on the "subscriber" field. It's identical to SubscriberEQ.
ent/fsevent/where.go:80
↓ 3 callersMethodTasksIDs
TasksIDs returns the "tasks" edge IDs in the mutation.
ent/mutation.go:16015
↓ 3 callersMethodThumbSlaveSidecarSuffix
ThumbSlaveSidecarSuffix returns the suffix of slave sidecar thumbnails.
pkg/setting/provider.go:122
↓ 3 callersFunctionType
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
ent/file/where.go:69
↓ 3 callersFunctionTypeIn
TypeIn applies the In predicate on the "type" field.
ent/task/where.go:235
↓ 3 callersFunctionTypeValidator
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
ent/node/node.go:138
↓ 3 callersMethodUAParser
UAParser Get a singleton uaparser.Parser instance for user agent parsing.
application/dependency/dependency.go:138
↓ 3 callersMethodUnsubscribe
Unsubscribe marks the subscriber as offline instead of removing it. Buffered events will be kept for when the subscriber reconnects. Subscribers that
pkg/filemanager/eventhub/eventhub.go:22
↓ 3 callersMethodUpload
(ctx context.Context, file *fs.UploadRequest)
pkg/filemanager/driver/onedrive/client.go:36
↓ 3 callersMethodUri
Uri returns the URI of the file. If isRoot is true, the URI will be returned from owner's view. Otherwise, the URI will be returned from user's view.
pkg/filemanager/fs/dbfs/file.go:177
↓ 3 callersMethodUserRoot
UserRoot return the root file from user's view.
pkg/filemanager/fs/dbfs/file.go:227
↓ 3 callersMethodUsersIDs
UsersIDs returns the "users" edge IDs in the mutation.
ent/mutation.go:5913
← previousnext →1,001–1,100 of 11,486, ranked by callers