MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 2 callersMethodModel
Model returns the ent model of the Task
pkg/queue/task.go:48
↓ 2 callersMethodMusicCoverThumbExts
MusicCoverThumbExts returns the supported extensions of music cover thumb generator.
pkg/setting/provider.go:156
↓ 2 callersMethodMusicCoverThumbGeneratorEnabled
MusicCoverThumbGeneratorEnabled returns true if music cover thumb generator is enabled.
pkg/setting/provider.go:152
↓ 2 callersFunctionName
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/directlink/where.go:74
↓ 2 callersFunctionName
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/metadata/where.go:74
↓ 2 callersFunctionNameContains
NameContains applies the Contains predicate on the "name" field.
ent/file/where.go:269
↓ 2 callersFunctionNameContainsFold
NameContainsFold applies the ContainsFold predicate on the "name" field.
ent/file/where.go:289
↓ 2 callersFunctionNameEQ
NameEQ applies the EQ predicate on the "name" field.
ent/metadata/where.go:224
↓ 2 callersFunctionNameNEQ
NameNEQ applies the NEQ predicate on the "name" field.
ent/file/where.go:234
↓ 2 callersFunctionNew
(ctx context.Context, policy *ent.StoragePolicy, settings setting.Provider, config conf.ConfigProvider, l log
pkg/filemanager/driver/cos/cos.go:101
↓ 2 callersFunctionNew
(ctx context.Context, policy *ent.StoragePolicy, settings setting.Provider, config conf.ConfigProvider, l log
pkg/filemanager/driver/obs/obs.go:79
↓ 2 callersFunctionNew
(ctx context.Context, policy *ent.StoragePolicy, settings setting.Provider, config conf.ConfigProvider, l log
pkg/filemanager/driver/oss/oss.go:83
↓ 2 callersFunctionNew
(ctx context.Context, policy *ent.StoragePolicy, settings setting.Provider, config conf.ConfigProvider, l log
pkg/filemanager/driver/s3/s3.go:74
↓ 2 callersFunctionNew
(ctx context.Context, policy *ent.StoragePolicy, settings setting.Provider, config conf.ConfigProvider, l log
pkg/filemanager/driver/ks3/ks3.go:88
↓ 2 callersFunctionNewBalancer
NewBalancer 根据策略标识返回新的负载均衡器
pkg/balancer/balancer.go:8
↓ 2 callersFunctionNewCallbackReader
(reader io.Reader, callback func(int64))
pkg/util/io.go:65
↓ 2 callersFunctionNewEmptyEntity
(u *ent.User)
pkg/filemanager/fs/fs.go:800
↓ 2 callersFunctionNewEncoder
NewEncoder returns a new encoder that writes to w.
pkg/webdav/internal/xml/marshal.go:132
↓ 2 callersFunctionNewEnvOverrideStore
NewEnvOverwriteStore creates an adapter that always returns overrided setting value defined in environment variables.
pkg/setting/adapters.go:64
↓ 2 callersFunctionNewFullTextIndexTask
(ctx context.Context, uri *fs.URI, entityID, fileID, ownerID int, creator *ent.User)
pkg/filemanager/manager/fulltextindex.go:91
↓ 2 callersFunctionNewGroupClient
(client *ent.Client, dbType conf.DBType, cache cache.Driver)
inventory/group.go:49
↓ 2 callersFunctionNewProvider
NewProvider creates a new setting provider.
pkg/setting/provider.go:247
↓ 2 callersFunctionNewQuery
NewQuery returns the generic Query interface for the given typed query.
ent/intercept/intercept.go:519
↓ 2 callersFunctionNewRawEntClient
NewRawEntClient returns a new ent.Client without additional configurations.
inventory/client.go:48
↓ 2 callersFunctionNewRedisStore
NewRedisStore 创建新的redis存储
pkg/cache/redis.go:49
↓ 2 callersFunctionNewRemoteDownloadTask
NewRemoteDownloadTask creates a new RemoteDownloadTask
pkg/filemanager/workflows/remote_download.go:85
↓ 2 callersFunctionNewSlaveDownloader
NewSlaveDownloader creates a new slave downloader
pkg/downloader/slave/slave.go:25
↓ 2 callersFunctionNewTPSLimiter
()
pkg/request/tpslimiter.go:15
↓ 2 callersFunctionNewThumbFromFile
NewThumbFromFile 从文件数据获取新的Thumb对象, 尝试通过文件名name解码图像
pkg/thumb/builtin.go:41
↓ 2 callersFunctionNewUserClient
(client *ent.Client)
inventory/user.go:112
↓ 2 callersFunctionNickContainsFold
NickContainsFold applies the ContainsFold predicate on the "nick" field.
ent/user/where.go:364
↓ 2 callersMethodNodeCleared
NodeCleared reports if the "node" edge to the Node entity was cleared.
ent/mutation.go:13520
↓ 2 callersFunctionNot
Not applies the not operator on the given predicate.
ent/file/where.go:678
↓ 2 callersMethodOnBtDownloadComplete
OnBtDownloadComplete will be sent when a torrent download is complete but seeding is still going on.
pkg/downloader/aria2/rpc/notification.go:34
↓ 2 callersMethodOnConflict
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example: client.File.Create(). SetCreat
ent/file_create.go:576
↓ 2 callersMethodOnDownloadComplete
OnDownloadComplete will be sent when a download is complete. For BitTorrent downloads, this notification is sent when the download is complete and see
pkg/downloader/aria2/rpc/notification.go:30
↓ 2 callersMethodOnDownloadError
OnDownloadError will be sent when a download is stopped due to an error.
pkg/downloader/aria2/rpc/notification.go:32
↓ 2 callersMethodOnDownloadPause
OnDownloadPause will be sent when a download is paused.
pkg/downloader/aria2/rpc/notification.go:26
↓ 2 callersMethodOnDownloadStart
OnDownloadStart will be sent when a download is started.
pkg/downloader/aria2/rpc/notification.go:24
↓ 2 callersMethodOnDownloadStop
OnDownloadStop will be sent when a download is stopped by the user.
pkg/downloader/aria2/rpc/notification.go:28
↓ 2 callersMethodOnUploadFailed
OnUploadFailed handles the failed upload on the node.
pkg/filemanager/fs/fs.go:136
↓ 2 callersMethodOnUploadFailed
OnUploadFailed should be called when an unmanaged upload failed before complete.
pkg/filemanager/manager/upload.go:38
↓ 2 callersMethodOpen
Open opens the named file for reading and returns it as an fs.File. The returned file implements io.Seeker when the file is not a directory.
application/statics/embed.go:302
↓ 2 callersMethodP
P adds a storage-level predicate to the queries and mutations.
ent/schema/common.go:46
↓ 2 callersMethodParentCleared
ParentCleared reports if the "parent" edge to the File entity was cleared.
ent/mutation.go:3703
↓ 2 callersMethodPatchMedata
UpsertMedata update or insert metadata of given file
pkg/filemanager/manager/manager.go:55
↓ 2 callersMethodPrepareUpload
PrepareUpload prepares an upload session. It performs validation on upload request and returns a placeholder file if needed.
pkg/filemanager/fs/fs.go:107
↓ 2 callersMethodPrimaryEntityCleared
PrimaryEntityCleared returns if the "primary_entity" field was cleared in this mutation.
ent/mutation.go:3429
↓ 2 callersMethodPriority
Priority of execution order, smaller value means higher priority.
pkg/thumb/pipeline.go:27
↓ 2 callersMethodPrivateStateCleared
PrivateStateCleared returns if the "private_state" field was cleared in this mutation.
ent/mutation.go:14534
↓ 2 callersMethodProgress
(ctx context.Context)
pkg/queue/task.go:55
↓ 2 callersMethodQueryContext
QueryContext logs its params and calls the underlying transaction QueryContext method if it is supported.
inventory/debug/debug.go:164
↓ 2 callersFunctionRandString
RandString returns random string in given length and variant
pkg/util/common.go:54
↓ 2 callersMethodReCaptcha
ReCaptcha returns the Google reCaptcha settings.
pkg/setting/provider.go:38
↓ 2 callersFunctionRedactSensitiveValues
(errorMessage string)
pkg/auth/auth.go:183
↓ 2 callersFunctionReferenceCountLTE
ReferenceCountLTE applies the LTE predicate on the "reference_count" field.
ent/entity/where.go:420
↓ 2 callersMethodRefresh
(ctx context.Context)
pkg/credmanager/credmanager.go:34
↓ 2 callersMethodRefresh
Refresh refreshes a lock.
pkg/filemanager/fs/fs.go:127
↓ 2 callersMethodRegCaptchaEnabled
RegCaptchaEnabled returns true if registration captcha is enabled.
pkg/setting/provider.go:30
↓ 2 callersMethodRegisterEnabled
RegisterEnabled returns true if public sign-up is enabled.
pkg/setting/provider.go:26
↓ 2 callersMethodRemainDownloadsCleared
RemainDownloadsCleared returns if the "remain_downloads" field was cleared in this mutation.
ent/mutation.go:11941
↓ 2 callersMethodRemoveChildIDs
RemoveChildIDs removes the "children" edge to File entities by IDs.
ent/file_update.go:363
↓ 2 callersMethodRemoveDavAccountIDs
RemoveDavAccountIDs removes the "dav_accounts" edge to DavAccount entities by IDs.
ent/user_update.go:386
↓ 2 callersMethodRemoveDirectLinkIDs
RemoveDirectLinkIDs removes the "direct_links" edge to DirectLink entities by IDs.
ent/file_update.go:447
↓ 2 callersMethodRemoveEntityIDs
RemoveEntityIDs removes the "entities" edge to Entity entities by IDs.
ent/file_update.go:405
↓ 2 callersMethodRemoveEntityIDs
RemoveEntityIDs removes the "entities" edge to Entity entities by IDs.
ent/storagepolicy_update.go:393
↓ 2 callersMethodRemoveEntityIDs
RemoveEntityIDs removes the "entities" edge to Entity entities by IDs.
ent/user_update.go:491
↓ 2 callersMethodRemoveFile
RemoveFile removes "file" edges to File entities.
ent/entity_update.go:268
↓ 2 callersMethodRemoveFileIDs
RemoveFileIDs removes the "files" edge to File entities by IDs.
ent/storagepolicy_update.go:372
↓ 2 callersMethodRemoveFileIDs
RemoveFileIDs removes the "file" edge to File entities by IDs.
ent/entity_update.go:262
↓ 2 callersMethodRemoveFileIDs
RemoveFileIDs removes the "files" edge to File entities by IDs.
ent/user_update.go:365
↓ 2 callersMethodRemoveFseventIDs
RemoveFseventIDs removes the "fsevents" edge to FsEvent entities by IDs.
ent/user_update.go:470
↓ 2 callersMethodRemoveGrantIDs
RemoveGrantIDs removes the "grants" edge to OAuthGrant entities by IDs.
ent/oauthclient_update.go:193
↓ 2 callersMethodRemoveGroupIDs
RemoveGroupIDs removes the "groups" edge to Group entities by IDs.
ent/storagepolicy_update.go:351
↓ 2 callersMethodRemoveMetadatumIDs
RemoveMetadatumIDs removes the "metadata" edge to Metadata entities by IDs.
ent/file_update.go:384
↓ 2 callersMethodRemoveOauthGrantIDs
RemoveOauthGrantIDs removes the "oauth_grants" edge to OAuthGrant entities by IDs.
ent/user_update.go:512
↓ 2 callersMethodRemovePasskeyIDs
RemovePasskeyIDs removes the "passkey" edge to Passkey entities by IDs.
ent/user_update.go:428
↓ 2 callersMethodRemoveShareIDs
RemoveShareIDs removes the "shares" edge to Share entities by IDs.
ent/file_update.go:426
↓ 2 callersMethodRemoveShareIDs
RemoveShareIDs removes the "shares" edge to Share entities by IDs.
ent/user_update.go:407
↓ 2 callersMethodRemoveStoragePolicyIDs
RemoveStoragePolicyIDs removes the "storage_policy" edge to StoragePolicy entities by IDs.
ent/node_update.go:208
↓ 2 callersMethodRemoveTaskIDs
RemoveTaskIDs removes the "tasks" edge to Task entities by IDs.
ent/user_update.go:449
↓ 2 callersMethodRemoveUserIDs
RemoveUserIDs removes the "users" edge to User entities by IDs.
ent/group_update.go:213
↓ 2 callersMethodRemovedChildrenIDs
RemovedChildren returns the removed IDs of the "children" edge to the File entity.
ent/mutation.go:3763
↓ 2 callersMethodRemovedDavAccountsIDs
RemovedDavAccounts returns the removed IDs of the "dav_accounts" edge to the DavAccount entity.
ent/mutation.go:15845
↓ 2 callersMethodRemovedDirectLinksIDs
RemovedDirectLinks returns the removed IDs of the "direct_links" edge to the DirectLink entity.
ent/mutation.go:3979
↓ 2 callersMethodRemovedFileIDs
RemovedFile returns the removed IDs of the "file" edge to the File entity.
ent/mutation.go:2384
↓ 2 callersMethodRemovedFseventsIDs
RemovedFsevents returns the removed IDs of the "fsevents" edge to the FsEvent entity.
ent/mutation.go:16061
↓ 2 callersMethodRemovedGrantsIDs
RemovedGrants returns the removed IDs of the "grants" edge to the OAuthGrant entity.
ent/mutation.go:8809
↓ 2 callersMethodRemovedGroupsIDs
RemovedGroups returns the removed IDs of the "groups" edge to the Group entity.
ent/mutation.go:13383
↓ 2 callersMethodRemovedMetadataIDs
RemovedMetadata returns the removed IDs of the "metadata" edge to the Metadata entity.
ent/mutation.go:3817
↓ 2 callersMethodRemovedOauthGrantsIDs
RemovedOauthGrants returns the removed IDs of the "oauth_grants" edge to the OAuthGrant entity.
ent/mutation.go:16169
↓ 2 callersMethodRemovedPasskeyIDs
RemovedPasskey returns the removed IDs of the "passkey" edge to the Passkey entity.
ent/mutation.go:15953
↓ 2 callersMethodRemovedStoragePolicyIDs
RemovedStoragePolicy returns the removed IDs of the "storage_policy" edge to the StoragePolicy entity.
ent/mutation.go:7750
↓ 2 callersMethodRemovedTasksIDs
RemovedTasks returns the removed IDs of the "tasks" edge to the Task entity.
ent/mutation.go:16007
↓ 2 callersMethodRemovedUsersIDs
RemovedUsers returns the removed IDs of the "users" edge to the User entity.
ent/mutation.go:5905
↓ 2 callersMethodRename
Rename renames a file or directory
pkg/filemanager/manager/manager.go:43
↓ 2 callersMethodRequestClient
(opts ...request.Option)
application/dependency/dependency.go:223
↓ 2 callersFunctionResize
(newWidth, newHeight uint, img image.Image)
pkg/thumb/builtin.go:139
↓ 2 callersFunctionSandbox
()
middleware/common.go:64
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
ent/group_update.go:234
← previousnext →1,401–1,500 of 11,486, ranked by callers