MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 5 callersFunctionFindDesiredEntity
FindDesiredEntity finds the desired entity from the file. entityType is optional, if it is not nil, it will only return the entity with the given type
pkg/filemanager/fs/fs.go:711
↓ 5 callersFunctionFormSlash
FormSlash 将path中的反斜杠'\'替换为'/'
pkg/util/path.go:54
↓ 5 callersFunctionGUID
GUID applies equality check predicate on the "guid" field. It's identical to GUIDEQ.
ent/oauthclient/where.go:74
↓ 5 callersMethodGet
Get 取值
pkg/cache/memo.go:93
↓ 5 callersMethodGetChildFiles
Get all files under a given root
inventory/file.go:159
↓ 5 callersMethodGetResponseIgnoreErr
GetResponseIgnoreErr 获取响应正文
pkg/request/request.go:237
↓ 5 callersMethodGroupBy
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/node_query.go:309
↓ 5 callersFunctionIDLT
IDLT applies the LT predicate on the ID field.
ent/file/where.go:49
↓ 5 callersFunctionIsInExtensionListExt
IsInExtensionList 返回文件的扩展名是否在给定的列表范围内
pkg/util/common.go:88
↓ 5 callersMethodIsLocal
()
pkg/filemanager/manager/entitysource/entitysource.go:262
↓ 5 callersMethodIsPrivate
IsPrivate returns the value of the "is_private" field in the mutation.
ent/mutation.go:12944
↓ 5 callersFunctionIsTrueValue
(val string)
pkg/setting/provider.go:891
↓ 5 callersFunctionMasterShareUrl
(base *url.URL, id, password string)
pkg/cluster/routes/routes.go:69
↓ 5 callersMethodMediaMetaExtractor
MediaMetaExtractor Get a singleton mediameta.Extractor instance for media metadata extraction.
application/dependency/dependency.go:116
↓ 5 callersMethodModTime
()
pkg/webdav/prop.go:177
↓ 5 callersMethodMutate
Mutate calls f(ctx, m).
ent/hook/hook.go:53
↓ 5 callersFunctionNew
New returns an instance of Client
pkg/downloader/aria2/rpc/client.go:33
↓ 5 callersFunctionNewDependency
NewDependency creates a new Dep instance for construct dependencies.
application/dependency/dependency.go:209
↓ 5 callersFunctionNewSettingClient
NewSettingClient returns a client for the Setting from the given config.
ent/client.go:2176
↓ 5 callersMethodPatchMetadata
UpsertMetadata update or insert metadata of a file.
pkg/filemanager/fs/fs.go:87
↓ 5 callersMethodPermissions
Permissions returns the value of the "permissions" field in the mutation.
ent/mutation.go:5745
↓ 5 callersFunctionPrepareSlaveDownloader
PrepareSlaveDownloader creates or resume a downloader based on input node settings
middleware/cluster.go:24
↓ 5 callersMethodPrepareUpload
Similar to CompleteUpload, but does not create actual uplaod session in storage.
pkg/filemanager/manager/upload.go:40
↓ 5 callersMethodPublicResourceMaxAge
PublicResourceMaxAge returns the max age of public resources.
pkg/setting/provider.go:85
↓ 5 callersMethodPublicState
PublicState returns the value of the "public_state" field in the mutation.
ent/mutation.go:14466
↓ 5 callersMethodPut
上传文件, dst为文件存储路径,size 为文件大小。上下文关闭 时,应取消上传并清理临时文件
pkg/filemanager/driver/handler.go:47
↓ 5 callersMethodRecycle
()
pkg/filemanager/fs/dbfs/navigator.go:39
↓ 5 callersMethodRefresh
Refresh refreshes the given refresh token and returns a new pair of credentials.
pkg/auth/jwt.go:32
↓ 5 callersMethodRemoteDownloadQueue
RemoteDownloadQueue Get a singleton queue.Queue instance for remote download tasks.
application/dependency/dependency.go:130
↓ 5 callersMethodResetDownloads
ResetDownloads resets all changes to the "downloads" field.
ent/mutation.go:11829
↓ 5 callersMethodResetSize
ResetSize resets all changes to the "size" field.
ent/mutation.go:3366
↓ 5 callersMethodResetType
ResetType resets all changes to the "type" field.
ent/mutation.go:3238
↓ 5 callersMethodResumeTime
ResumeTime returns the time when the Task is resumed
pkg/queue/task.go:52
↓ 5 callersMethodRoot
Root returns the root folder of a given user
inventory/file.go:161
↓ 5 callersMethodSecretKey
SecretKey returns the secret key for general signature.
pkg/setting/provider.go:54
↓ 5 callersMethodSeek
(offset int64, whence int)
pkg/filemanager/fs/fs.go:657
↓ 5 callersMethodSet
Set 存储值
pkg/cache/redis.go:83
↓ 5 callersMethodSetAccessKey
SetAccessKey sets the "access_key" field.
ent/mutation.go:12988
↓ 5 callersMethodSetDirNameRule
SetDirNameRule sets the "dir_name_rule" field.
ent/mutation.go:13156
↓ 5 callersMethodSetDownloads
SetDownloads sets the "downloads" field.
ent/mutation.go:11779
↓ 5 callersMethodSetEmail
SetEmail sets the "email" field.
ent/mutation.go:15324
↓ 5 callersMethodSetFileNameRule
SetFileNameRule sets the "file_name_rule" field.
ent/mutation.go:13205
↓ 5 callersMethodSetGroupID
SetGroupID sets the "group" edge to the Group entity by id.
ent/mutation.go:15720
↓ 5 callersMethodSetIsEnabled
SetIsEnabled sets the "is_enabled" field.
ent/mutation.go:8742
↓ 5 callersMethodSetParent
SetParent sets parent of group of files
inventory/file.go:177
↓ 5 callersMethodSetRedirectUris
SetRedirectUris sets the "redirect_uris" field.
ent/mutation.go:8604
↓ 5 callersMethodSetSecret
SetSecret sets the "secret" field.
ent/mutation.go:8483
↓ 5 callersMethodSetSlaveKey
SetSlaveKey sets the "slave_key" field.
ent/mutation.go:7529
↓ 5 callersFunctionSetUserCtx
SetUserCtx set the current login user via uid
middleware/auth.go:74
↓ 5 callersMethodSetUserID
SetUserID sets the "user" edge to the User entity by id.
ent/mutation.go:14644
↓ 5 callersFunctionSliceDifference
SliceDifference 求两个切片差集
pkg/util/common.go:233
↓ 5 callersMethodSpeed
Speed returns the value of the "speed" field in the mutation.
ent/mutation.go:1296
↓ 5 callersMethodStrings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
ent/ent.go:334
↓ 5 callersMethodSubscriber
Subscriber returns the value of the "subscriber" field in the mutation.
ent/mutation.go:4890
↓ 5 callersMethodTaskClient
()
application/dependency/dependency.go:815
↓ 5 callersMethodTaskRegistry
TaskRegistry Get a singleton queue.TaskRegistry instance for task registration.
application/dependency/dependency.go:134
↓ 5 callersMethodToken
Token returns the next XML token in the input stream. At the end of the input stream, Token returns nil, io.EOF. Slices of bytes in the returned toke
pkg/webdav/internal/xml/xml.go:272
↓ 5 callersFunctionTypeEQ
TypeEQ applies the EQ predicate on the "type" field.
ent/file/where.go:189
↓ 5 callersMethodURI
URI returns the value of the "uri" field in the mutation.
ent/mutation.go:347
↓ 5 callersMethodUpsertMetadata
UpsertMetadata update or insert metadata
inventory/file.go:194
↓ 5 callersFunctionUserID
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
ent/oauthgrant/where.go:74
↓ 5 callersFunctionWithConfigPath
WithConfigPath Set the path of the config file.
application/dependency/options.go:31
↓ 5 callersFunctionWithDownload
WithDownload set file URL as download
pkg/filemanager/manager/entitysource/entitysource.go:112
↓ 5 callersFunctionnewDavAccountMutation
newDavAccountMutation creates new mutation for the DavAccount entity.
ent/mutation.go:92
↓ 5 callersFunctionnewDirectLinkMutation
newDirectLinkMutation creates new mutation for the DirectLink entity.
ent/mutation.go:948
↓ 5 callersFunctionnewEntityMutation
newEntityMutation creates new mutation for the Entity entity.
ent/mutation.go:1752
↓ 5 callersFunctionnewFileMutation
newFileMutation creates new mutation for the File entity.
ent/mutation.go:3023
↓ 5 callersFunctionnewFsEventMutation
newFsEventMutation creates new mutation for the FsEvent entity.
ent/mutation.go:4635
↓ 5 callersFunctionnewGroupMutation
newGroupMutation creates new mutation for the Group entity.
ent/mutation.go:5350
↓ 5 callersFunctionnewMetadataMutation
newMetadataMutation creates new mutation for the Metadata entity.
ent/mutation.go:6422
↓ 5 callersFunctionnewNodeMutation
newNodeMutation creates new mutation for the Node entity.
ent/mutation.go:7158
↓ 5 callersFunctionnewOAuthClientMutation
newOAuthClientMutation creates new mutation for the OAuthClient entity.
ent/mutation.go:8233
↓ 5 callersFunctionnewOAuthGrantMutation
newOAuthGrantMutation creates new mutation for the OAuthGrant entity.
ent/mutation.go:9259
↓ 5 callersFunctionnewPasskeyMutation
newPasskeyMutation creates new mutation for the Passkey entity.
ent/mutation.go:10068
↓ 5 callersFunctionnewSettingMutation
newSettingMutation creates new mutation for the Setting entity.
ent/mutation.go:10866
↓ 5 callersFunctionnewShareMutation
newShareMutation creates new mutation for the Share entity.
ent/mutation.go:11460
↓ 5 callersFunctionnewStoragePolicyMutation
newStoragePolicyMutation creates new mutation for the StoragePolicy entity.
ent/mutation.go:12555
↓ 5 callersFunctionnewTaskMutation
newTaskMutation creates new mutation for the Task entity.
ent/mutation.go:14175
↓ 5 callersFunctionnewUserMutation
newUserMutation creates new mutation for the User entity.
ent/mutation.go:15110
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/node_query.go:343
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/fsevent_query.go:342
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/davaccount_query.go:342
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/metadata_query.go:342
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/directlink_query.go:342
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/passkey_query.go:342
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/oauthclient_query.go:343
↓ 5 callersMethodprepareQuery
(ctx context.Context)
ent/task_query.go:342
↓ 5 callersMethodprocessIndexDiff
(ctx context.Context, diff *fs.IndexDiff)
pkg/filemanager/manager/fulltextindex.go:482
↓ 5 callersMethodspace
Skip spaces if any
pkg/webdav/internal/xml/xml.go:867
↓ 5 callersMethodsqlQuery
(ctx context.Context)
ent/entity_query.go:666
↓ 5 callersMethodtransitStatus
beforeTaskStart updates Task status from queued to processing
pkg/queue/queue.go:346
↓ 5 callersFunctionwithStoragePolicyEagerLoading
(ctx context.Context, query *ent.StoragePolicyQuery)
inventory/policy.go:245
↓ 4 callersMethodAccessKey
AccessKey returns the value of the "access_key" field in the mutation.
ent/mutation.go:12993
↓ 4 callersMethodAll
All executes the query and returns a list of FsEvents.
ent/fsevent_query.go:185
↓ 4 callersMethodAll
All executes the query and returns a list of DavAccounts.
ent/davaccount_query.go:185
↓ 4 callersMethodAll
All executes the query and returns a list of MetadataSlice.
ent/metadata_query.go:185
↓ 4 callersMethodAll
All executes the query and returns a list of DirectLinks.
ent/directlink_query.go:185
↓ 4 callersMethodAll
All executes the query and returns a list of Passkeys.
ent/passkey_query.go:185
↓ 4 callersMethodAll
All executes the query and returns a list of OAuthClients.
ent/oauthclient_query.go:186
↓ 4 callersMethodAll
All executes the query and returns a list of Tasks.
ent/task_query.go:185
← previousnext →601–700 of 11,486, ranked by callers