MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

MethodSoftDelete
SoftDelete soft-deletes a file, also renaming it to a random name
inventory/file.go:205
MethodSoftDelete
(ctx context.Context, file *ent.File)
inventory/file.go:409
FunctionSource
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
ent/entity/where.go:80
MethodSource
Source 获取外链URL
pkg/filemanager/driver/cos/cos.go:383
MethodSource
Source 获取外链URL
pkg/filemanager/driver/remote/remote.go:111
MethodSource
(ctx context.Context, e fs.Entity, args *driver.GetSourceArgs)
pkg/filemanager/driver/obs/obs.go:366
MethodSource
Source 获取外链URL
pkg/filemanager/driver/oss/oss.go:410
MethodSource
Source 获取外链URL
pkg/filemanager/driver/s3/s3.go:296
MethodSource
Source 获取外链URL
pkg/filemanager/driver/onedrive/onedrive.go:153
MethodSource
Source 获取外链URL
pkg/filemanager/driver/local/local.go:203
MethodSource
()
pkg/filemanager/driver/local/entity.go:58
MethodSource
Source 获取外链URL
pkg/filemanager/driver/upyun/upyun.go:225
MethodSource
Source 获取文件外链
pkg/filemanager/driver/ks3/ks3.go:349
MethodSource
Source 获取外链URL
pkg/filemanager/driver/qiniu/qiniu.go:304
MethodSource
()
pkg/filemanager/fs/fs.go:772
FunctionSourceContains
SourceContains applies the Contains predicate on the "source" field.
ent/entity/where.go:320
FunctionSourceContainsFold
SourceContainsFold applies the ContainsFold predicate on the "source" field.
ent/entity/where.go:340
FunctionSourceEQ
SourceEQ applies the EQ predicate on the "source" field.
ent/entity/where.go:280
FunctionSourceEqualFold
SourceEqualFold applies the EqualFold predicate on the "source" field.
ent/entity/where.go:335
FunctionSourceGT
SourceGT applies the GT predicate on the "source" field.
ent/entity/where.go:300
FunctionSourceGTE
SourceGTE applies the GTE predicate on the "source" field.
ent/entity/where.go:305
FunctionSourceHasPrefix
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
ent/entity/where.go:325
FunctionSourceHasSuffix
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
ent/entity/where.go:330
FunctionSourceIn
SourceIn applies the In predicate on the "source" field.
ent/entity/where.go:290
FunctionSourceLT
SourceLT applies the LT predicate on the "source" field.
ent/entity/where.go:310
FunctionSourceLTE
SourceLTE applies the LTE predicate on the "source" field.
ent/entity/where.go:315
FunctionSourceNEQ
SourceNEQ applies the NEQ predicate on the "source" field.
ent/entity/where.go:285
FunctionSourceNotIn
SourceNotIn applies the NotIn predicate on the "source" field.
ent/entity/where.go:295
FunctionSpeedEQ
SpeedEQ applies the EQ predicate on the "speed" field.
ent/directlink/where.go:349
FunctionSpeedGT
SpeedGT applies the GT predicate on the "speed" field.
ent/directlink/where.go:369
FunctionSpeedGTE
SpeedGTE applies the GTE predicate on the "speed" field.
ent/directlink/where.go:374
FunctionSpeedIn
SpeedIn applies the In predicate on the "speed" field.
ent/directlink/where.go:359
FunctionSpeedLT
SpeedLT applies the LT predicate on the "speed" field.
ent/directlink/where.go:379
FunctionSpeedLTE
SpeedLTE applies the LTE predicate on the "speed" field.
ent/directlink/where.go:384
FunctionSpeedLimit
SpeedLimit applies equality check predicate on the "speed_limit" field. It's identical to SpeedLimitEQ.
ent/group/where.go:85
FunctionSpeedLimitEQ
SpeedLimitEQ applies the EQ predicate on the "speed_limit" field.
ent/group/where.go:345
FunctionSpeedLimitGT
SpeedLimitGT applies the GT predicate on the "speed_limit" field.
ent/group/where.go:365
FunctionSpeedLimitGTE
SpeedLimitGTE applies the GTE predicate on the "speed_limit" field.
ent/group/where.go:370
FunctionSpeedLimitIn
SpeedLimitIn applies the In predicate on the "speed_limit" field.
ent/group/where.go:355
FunctionSpeedLimitIsNil
SpeedLimitIsNil applies the IsNil predicate on the "speed_limit" field.
ent/group/where.go:385
FunctionSpeedLimitLT
SpeedLimitLT applies the LT predicate on the "speed_limit" field.
ent/group/where.go:375
FunctionSpeedLimitLTE
SpeedLimitLTE applies the LTE predicate on the "speed_limit" field.
ent/group/where.go:380
FunctionSpeedLimitNEQ
SpeedLimitNEQ applies the NEQ predicate on the "speed_limit" field.
ent/group/where.go:350
FunctionSpeedLimitNotIn
SpeedLimitNotIn applies the NotIn predicate on the "speed_limit" field.
ent/group/where.go:360
FunctionSpeedLimitNotNil
SpeedLimitNotNil applies the NotNil predicate on the "speed_limit" field.
ent/group/where.go:390
FunctionSpeedNEQ
SpeedNEQ applies the NEQ predicate on the "speed" field.
ent/directlink/where.go:354
FunctionSpeedNotIn
SpeedNotIn applies the NotIn predicate on the "speed" field.
ent/directlink/where.go:364
MethodStaleEntities
(ctx context.Context, entities ...int)
pkg/filemanager/fs/dbfs/global.go:11
MethodStaleEntities
StaleEntities returns stale entities of a given file. If ID is not provided, all entities will be examined.
inventory/file.go:201
MethodStaleEntities
(ctx context.Context, ids ...int)
inventory/file.go:461
MethodStart
Start to enable all worker
pkg/queue/queue.go:93
MethodStart
()
application/application.go:69
FunctionStartLoginAuthn
StartLoginAuthn 开始注册WebAuthn登录
routers/controllers/user.go:17
FunctionStartRegAuthn
StartRegAuthn 开始注册WebAuthn信息
routers/controllers/user.go:41
MethodStat
()
application/statics/embed.go:354
MethodState
()
pkg/queue/task.go:202
FunctionStatelessCompleteUpload
(c *gin.Context)
routers/controllers/slave.go:269
FunctionStatelessCreateFile
(c *gin.Context)
routers/controllers/slave.go:292
FunctionStatelessOnUploadFailed
(c *gin.Context)
routers/controllers/slave.go:281
FunctionStatelessPrepareUpload
(c *gin.Context)
routers/controllers/slave.go:257
FunctionStaticResourceCache
StaticResourceCache 使用静态资源缓存策略
middleware/common.go:71
MethodStatus
()
pkg/queue/task.go:173
FunctionStatusEQ
StatusEQ applies the EQ predicate on the "status" field.
ent/task/where.go:290
FunctionStatusIn
StatusIn applies the In predicate on the "status" field.
ent/user/where.go:454
FunctionStatusIn
StatusIn applies the In predicate on the "status" field.
ent/node/where.go:240
FunctionStatusNEQ
StatusNEQ applies the NEQ predicate on the "status" field.
ent/user/where.go:449
FunctionStatusNEQ
StatusNEQ applies the NEQ predicate on the "status" field.
ent/task/where.go:295
FunctionStatusNEQ
StatusNEQ applies the NEQ predicate on the "status" field.
ent/node/where.go:235
FunctionStatusNotIn
StatusNotIn applies the NotIn predicate on the "status" field.
ent/user/where.go:459
FunctionStatusNotIn
StatusNotIn applies the NotIn predicate on the "status" field.
ent/task/where.go:305
FunctionStatusNotIn
StatusNotIn applies the NotIn predicate on the "status" field.
ent/node/where.go:245
MethodStop
Stop cancels any pending debounce timer and flushes remaining events. Should be called before closing the subscriber.
pkg/filemanager/eventhub/subscriber.go:200
FunctionStorage
Storage applies equality check predicate on the "storage" field. It's identical to StorageEQ.
ent/user/where.go:89
FunctionStorageEQ
StorageEQ applies the EQ predicate on the "storage" field.
ent/user/where.go:464
FunctionStorageGT
StorageGT applies the GT predicate on the "storage" field.
ent/user/where.go:484
FunctionStorageGTE
StorageGTE applies the GTE predicate on the "storage" field.
ent/user/where.go:489
FunctionStorageIn
StorageIn applies the In predicate on the "storage" field.
ent/user/where.go:474
FunctionStorageLT
StorageLT applies the LT predicate on the "storage" field.
ent/user/where.go:494
FunctionStorageLTE
StorageLTE applies the LTE predicate on the "storage" field.
ent/user/where.go:499
FunctionStorageNEQ
StorageNEQ applies the NEQ predicate on the "storage" field.
ent/user/where.go:469
FunctionStorageNotIn
StorageNotIn applies the NotIn predicate on the "storage" field.
ent/user/where.go:479
MethodStoragePoliciesCleared
StoragePoliciesCleared reports if the "storage_policies" edge to the StoragePolicy entity was cleared.
ent/mutation.go:5939
MethodStoragePoliciesID
StoragePoliciesID returns the "storage_policies" edge ID in the mutation.
ent/mutation.go:3668
MethodStoragePoliciesID
StoragePoliciesID returns the "storage_policies" edge ID in the mutation.
ent/mutation.go:5944
MethodStoragePoliciesIDs
StoragePoliciesIDs returns the "storage_policies" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you shoul
ent/mutation.go:5954
MethodStoragePoliciesOrErr
StoragePoliciesOrErr returns the StoragePolicies value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/file.go:90
MethodStoragePoliciesOrErr
StoragePoliciesOrErr returns the StoragePolicies value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/group.go:70
MethodStoragePolicyCleared
StoragePolicyCleared reports if the "storage_policy" edge to the StoragePolicy entity was cleared.
ent/mutation.go:2458
MethodStoragePolicyClient
()
application/dependency/dependency.go:885
FunctionStoragePolicyEntitiesEQ
StoragePolicyEntitiesEQ applies the EQ predicate on the "storage_policy_entities" field.
ent/entity/where.go:425
FunctionStoragePolicyEntitiesIn
StoragePolicyEntitiesIn applies the In predicate on the "storage_policy_entities" field.
ent/entity/where.go:435
FunctionStoragePolicyEntitiesNEQ
StoragePolicyEntitiesNEQ applies the NEQ predicate on the "storage_policy_entities" field.
ent/entity/where.go:430
FunctionStoragePolicyEntitiesNotIn
StoragePolicyEntitiesNotIn applies the NotIn predicate on the "storage_policy_entities" field.
ent/entity/where.go:440
FunctionStoragePolicyFilesEQ
StoragePolicyFilesEQ applies the EQ predicate on the "storage_policy_files" field.
ent/file/where.go:454
FunctionStoragePolicyFilesIn
StoragePolicyFilesIn applies the In predicate on the "storage_policy_files" field.
ent/file/where.go:464
FunctionStoragePolicyFilesIsNil
StoragePolicyFilesIsNil applies the IsNil predicate on the "storage_policy_files" field.
ent/file/where.go:474
FunctionStoragePolicyFilesNEQ
StoragePolicyFilesNEQ applies the NEQ predicate on the "storage_policy_files" field.
ent/file/where.go:459
FunctionStoragePolicyFilesNotIn
StoragePolicyFilesNotIn applies the NotIn predicate on the "storage_policy_files" field.
ent/file/where.go:469
FunctionStoragePolicyFilesNotNil
StoragePolicyFilesNotNil applies the NotNil predicate on the "storage_policy_files" field.
ent/file/where.go:479
FunctionStoragePolicyID
StoragePolicyID applies equality check predicate on the "storage_policy_id" field. It's identical to StoragePolicyIDEQ.
ent/group/where.go:95
← previousnext →9,801–9,900 of 11,486, ranked by callers