MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 6 callersFunctionIDGT
IDGT applies the GT predicate on the ID field.
ent/file/where.go:39
↓ 6 callersFunctionInit
Init 初始化配置文件
application/migrator/conf/conf.go:75
↓ 6 callersMethodIoIntenseQueue
IoIntenseQueue Get a singleton queue.Queue instance for IO intense tasks.
application/dependency/dependency.go:128
↓ 6 callersFunctionIsConstraintError
IsConstraintError returns a boolean indicating whether the error is a constraint failure.
ent/ent.go:310
↓ 6 callersMethodIsEnabled
IsEnabled returns the value of the "is_enabled" field in the mutation.
ent/mutation.go:8747
↓ 6 callersFunctionIsFunctionEnabled
IsFunctionEnabled 当功能未开启时阻止访问
middleware/common.go:45
↓ 6 callersMethodIsPublic
IsPublic returns the value of the "is_public" field in the mutation.
ent/mutation.go:6749
↓ 6 callersMethodIsSame
(p *URI, uid string)
pkg/filemanager/fs/uri.go:198
↓ 6 callersMethodKey
()
pkg/credmanager/credmanager.go:35
↓ 6 callersMethodLimit
(ctx context.Context, token string, tps float64, burst int)
pkg/request/tpslimiter.go:12
↓ 6 callersFunctionNew
(l logging.Logger, taskClient inventory.TaskClient, registry TaskRegistry, dep Dep, opts ...Option)
pkg/queue/queue.go:68
↓ 6 callersFunctionNewDavAccountClient
NewDavAccountClient returns a client for the DavAccount from the given config.
ent/client.go:340
↓ 6 callersFunctionNewDirectLinkClient
NewDirectLinkClient returns a client for the DirectLink from the given config.
ent/client.go:491
↓ 6 callersFunctionNewFsEventClient
NewFsEventClient returns a client for the FsEvent from the given config.
ent/client.go:1087
↓ 6 callersFunctionNewLocalFileEntity
NewLocalFileEntity creates a new local file entity.
pkg/filemanager/driver/local/entity.go:15
↓ 6 callersFunctionNewMetadataClient
NewMetadataClient returns a client for the Metadata from the given config.
ent/client.go:1405
↓ 6 callersFunctionNewNodeClient
NewNodeClient returns a client for the Node from the given config.
ent/client.go:1556
↓ 6 callersFunctionNewOAuthClientClient
NewOAuthClientClient returns a client for the OAuthClient from the given config.
ent/client.go:1707
↓ 6 callersFunctionNewPasskeyClient
NewPasskeyClient returns a client for the Passkey from the given config.
ent/client.go:2025
↓ 6 callersFunctionNewTaskClient
NewTaskClient returns a client for the Task from the given config.
ent/client.go:2677
↓ 6 callersFunctionNormalizeGPS
NormalizeGPS normalizes the longitude and latitude of the GPS position to a generally valid range.
pkg/mediameta/exif.go:540
↓ 6 callersMethodOptions
Options returns the value of the "options" field in the mutation.
ent/mutation.go:419
↓ 6 callersMethodOwnerIDs
OwnerIDs returns the "owner" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use OwnerID instead
ent/mutation.go:3638
↓ 6 callersMethodPanic
(format string, v ...any)
pkg/logging/logger.go:15
↓ 6 callersMethodPathTrimmed
()
pkg/filemanager/fs/uri.go:152
↓ 6 callersMethodReadFile
ReadFile reads and returns the content of the named file.
application/statics/embed.go:331
↓ 6 callersMethodRedirectUris
RedirectUris returns the value of the "redirect_uris" field in the mutation.
ent/mutation.go:8610
↓ 6 callersMethodReferenceCount
()
pkg/filemanager/fs/fs.go:182
↓ 6 callersMethodRemoveMetadata
RemoveMetadata removes metadata from a file
inventory/file.go:183
↓ 6 callersMethodRemovedEntitiesIDs
RemovedEntities returns the removed IDs of the "entities" edge to the Entity entity.
ent/mutation.go:3871
↓ 6 callersMethodReplace
(model *ent.File)
pkg/filemanager/fs/dbfs/file.go:251
↓ 6 callersMethodRetried
Retried returns the number of times the Task has been retried
pkg/queue/task.go:42
↓ 6 callersMethodSSL
()
pkg/conf/conf.go:21
↓ 6 callersMethodSetAvatar
SetAvatar sets the "avatar" field.
ent/mutation.go:15586
↓ 6 callersMethodSetCapabilities
SetCapabilities sets the "capabilities" field.
ent/mutation.go:7578
↓ 6 callersMethodSetIsPublic
SetIsPublic sets the "is_public" field.
ent/mutation.go:6744
↓ 6 callersMethodSetMaxStorage
SetMaxStorage sets the "max_storage" field.
ent/mutation.go:5600
↓ 6 callersMethodSetNick
SetNick sets the "nick" field.
ent/mutation.go:15360
↓ 6 callersMethodSetScopes
SetScopes sets the "scopes" field.
ent/mutation.go:9545
↓ 6 callersMethodSetStoragePoliciesID
SetStoragePoliciesID sets the "storage_policies" edge to the StoragePolicy entity by id.
ent/mutation.go:3652
↓ 6 callersMethodSharesIDs
SharesIDs returns the "shares" edge IDs in the mutation.
ent/mutation.go:3933
↓ 6 callersFunctionSignRequired
SignRequired 验证请求签名
middleware/auth.go:27
↓ 6 callersFunctionSignURI
SignURI 对URI进行签名
pkg/auth/auth.go:125
↓ 6 callersMethodStart
Start resume tasks and starts all workers.
pkg/queue/queue.go:21
↓ 6 callersMethodStorage
Storage returns the value of the "storage" field in the mutation.
ent/mutation.go:15487
↓ 6 callersMethodStoragePoliciesIDs
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:3678
↓ 6 callersMethodStoragePolicyIDs
StoragePolicyIDs returns the "storage_policy" edge IDs in the mutation.
ent/mutation.go:7758
↓ 6 callersMethodSubmittedTasks
SubmittedTasks returns the numbers of submitted tasks.
pkg/queue/queue.go:33
↓ 6 callersMethodSuccessTasks
BusyWorkers returns the numbers of success tasks.
pkg/queue/queue.go:29
↓ 6 callersMethodSuspendingTasks
SuspendingTasks returns the numbers of suspending tasks.
pkg/queue/queue.go:35
↓ 6 callersMethodUseChunkBuffer
UseChunkBuffer returns true if chunk buffer is enabled.
pkg/setting/provider.go:76
↓ 6 callersFunctionValidateBatchFileCount
ValidateBatchFileCount validates if the batch file count is within the limit
middleware/file.go:20
↓ 6 callersMethodViews
Views returns the value of the "views" field in the mutation.
ent/mutation.go:11729
↓ 6 callersMethodWeight
Weight returns the value of the "weight" field in the mutation.
ent/mutation.go:7669
↓ 6 callersFunctionWithBackoffFactor
WithBackoffFactor set backoff factor
pkg/queue/options.go:60
↓ 6 callersFunctionWithBackoffMaxDuration
WithBackoffMaxDuration set backoff max duration
pkg/queue/options.go:67
↓ 6 callersFunctionWithEndpoint
Endpoint 使用同一的请求Endpoint
pkg/request/options.go:134
↓ 6 callersFunctionWithMaxRetry
WithMaxRetry set max retry
pkg/queue/options.go:74
↓ 6 callersFunctionWithMaxTaskExecution
WithMaxTaskExecution set maximum execution time for a Task.
pkg/queue/options.go:46
↓ 6 callersFunctionWithName
WithName set queue name
pkg/queue/options.go:98
↓ 6 callersFunctionWithRetryDelay
WithRetryDelay set retry delay
pkg/queue/options.go:53
↓ 6 callersFunctionWithSpeedLimit
WithSpeedLimit set speed limit for file source (if supported)
pkg/filemanager/manager/entitysource/entitysource.go:98
↓ 6 callersFunctionWithWorkerCount
WithWorkerCount set worker count
pkg/queue/options.go:88
↓ 6 callersMethodbatchInConditionEntityID
(pageSize, margin int, multiply int, keys []int)
inventory/file_utils.go:175
↓ 6 callersFunctioncheckColumn
columnChecker checks if the column exists in the given table.
ent/ent.go:88
↓ 6 callersFunctionconfirmLock
(c *gin.Context, fm manager.FileManager, user *ent.User, srcAnc, dstAnc fs.File, src, dst *fs.URI)
pkg/webdav/webdav.go:97
↓ 6 callersMethodgetEligibleSubscriber
(ctx context.Context, file *File, checkParentPerm bool)
pkg/filemanager/fs/dbfs/events.go:104
↓ 6 callersMethodgetPreferredPolicy
getPreferredPolicy tries to get the preferred storage policy for the given file.
pkg/filemanager/fs/dbfs/dbfs.go:669
↓ 6 callersFunctionlex
(s string)
pkg/webdav/if.go:133
↓ 6 callersFunctionnewBaseNavigator
(fileClient inventory.FileClient, filterFunc fileFilter, user *ent.User, hasher hashid.Encoder, config *setti
pkg/filemanager/fs/dbfs/navigator.go:166
↓ 6 callersFunctionnewDefaultOption
()
pkg/request/options.go:45
↓ 6 callersFunctionprepareFs
(c *gin.Context)
service/explorer/viewer.go:31
↓ 6 callersMethodprepareQuery
(ctx context.Context)
ent/group_query.go:379
↓ 6 callersMethodprepareQuery
(ctx context.Context)
ent/oauthgrant_query.go:378
↓ 6 callersMethodprepareQuery
(ctx context.Context)
ent/share_query.go:379
↓ 6 callersMethodsqlQuery
(ctx context.Context)
ent/storagepolicy_query.go:708
↓ 6 callersFunctionwithGroupEagerLoading
(ctx context.Context, q *ent.GroupQuery)
inventory/group.go:170
↓ 5 callersMethodAddedDownloads
AddedDownloads returns the value that was added to the "downloads" field in this mutation.
ent/mutation.go:11820
↓ 5 callersMethodAddedSize
AddedSize returns the value that was added to the "size" field in this mutation.
ent/mutation.go:3357
↓ 5 callersMethodAddedType
AddedType returns the value that was added to the "type" field in this mutation.
ent/mutation.go:3229
↓ 5 callersMethodAll
All executes the query and returns a list of Groups.
ent/group_query.go:210
↓ 5 callersMethodAll
All executes the query and returns a list of OAuthGrants.
ent/oauthgrant_query.go:209
↓ 5 callersMethodAll
All executes the query and returns a list of Shares.
ent/share_query.go:210
↓ 5 callersMethodAll
All executes the query and returns a list of Entities.
ent/entity_query.go:234
↓ 5 callersFunctionBuildLogger
Print GORM 的 Logger实现 func (ll *Logger) Print(v ...interface{}) { if LevelDebug > ll.level { return } msg := fmt.Sprintf("[SQL] %s", v...) ll.pr
pkg/util/logger.go:123
↓ 5 callersFunctionByID
ByID orders the results by the id field.
ent/user/user.go:212
↓ 5 callersMethodCORS
CORS 创建跨域策略
pkg/filemanager/driver/s3/s3.go:442
↓ 5 callersMethodClientID
ClientID returns the value of the "client_id" field in the mutation.
ent/mutation.go:9514
↓ 5 callersMethodCorrelationID
CorrelationID returns the correlation ID of the Task
pkg/queue/task.go:50
↓ 5 callersMethodCreateBulk
CreateBulk returns a builder for creating a bulk of File entities.
ent/client.go:848
↓ 5 callersMethodCredential
Credential returns the value of the "credential" field in the mutation.
ent/mutation.go:10395
↓ 5 callersMethodCredentialID
CredentialID returns the value of the "credential_id" field in the mutation.
ent/mutation.go:10323
↓ 5 callersMethodDBFS
DBFS returns the DBFS related settings.
pkg/setting/provider.go:64
↓ 5 callersMethodDelete
Delete deletes a user.
inventory/user.go:95
↓ 5 callersMethodEntityUrlValidDuration
EntityUrlValidDuration returns the valid duration of entity URL.
pkg/setting/provider.go:83
↓ 5 callersFunctionErrorResponse
ErrorResponse 返回错误消息
routers/controllers/main.go:43
↓ 5 callersMethodEvent
Event returns the value of the "event" field in the mutation.
ent/mutation.go:4854
↓ 5 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:6231
↓ 5 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:12356
↓ 5 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:16485
← previousnext →501–600 of 11,486, ranked by callers