MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 4 callersMethodSetFileID
SetFileID sets the "file" edge to the File entity by id.
ent/mutation.go:12042
↓ 4 callersMethodSetGUID
SetGUID sets the "guid" field.
ent/mutation.go:8447
↓ 4 callersMethodSetIsPrivate
SetIsPrivate sets the "is_private" field.
ent/mutation.go:12939
↓ 4 callersMethodSetIsSymbolic
SetIsSymbolic sets the "is_symbolic" field.
ent/mutation.go:3491
↓ 4 callersMethodSetMaxSize
SetMaxSize sets the "max_size" field.
ent/mutation.go:13086
↓ 4 callersMethodSetOptions
SetOptions sets the "options" field.
ent/mutation.go:414
↓ 4 callersMethodSetRemainDownloads
SetRemainDownloads sets the "remain_downloads" field.
ent/mutation.go:11884
↓ 4 callersMethodSetSecretKey
SetSecretKey sets the "secret_key" field.
ent/mutation.go:13037
↓ 4 callersMethodSetSpeedLimit
SetSpeedLimit sets the "speed_limit" field.
ent/mutation.go:5670
↓ 4 callersMethodSetStoragePolicyID
SetStoragePolicyID sets the "storage_policy_id" field.
ent/mutation.go:5825
↓ 4 callersMethodSetURI
SetURI sets the "uri" field.
ent/mutation.go:342
↓ 4 callersMethodSetWeight
SetWeight sets the "weight" field.
ent/mutation.go:7663
↓ 4 callersMethodSets
Sets 批量设置值
pkg/cache/redis.go:165
↓ 4 callersMethodSign
对给定Body进行签名,expires为0表示永不过期
pkg/auth/auth.go:38
↓ 4 callersMethodSlaveKey
SlaveKey returns the value of the "slave_key" field in the mutation.
ent/mutation.go:7534
↓ 4 callersMethodSlaveRequestSignTTL
SlaveRequestSignTTL returns the TTL of slave request signature.
pkg/setting/provider.go:72
↓ 4 callersMethodSpeedLimit
SpeedLimit returns the value of the "speed_limit" field in the mutation.
ent/mutation.go:5676
↓ 4 callersFunctionSplitPath
SplitPath 分割路径为列表
pkg/util/path.go:39
↓ 4 callersFunctionStatusEQ
StatusEQ applies the EQ predicate on the "status" field.
ent/user/where.go:444
↓ 4 callersMethodStoragePoliciesCleared
StoragePoliciesCleared reports if the "storage_policies" edge to the StoragePolicy entity was cleared.
ent/mutation.go:3663
↓ 4 callersMethodStoragePolicyID
StoragePolicyID returns the value of the "storage_policy_id" field in the mutation.
ent/mutation.go:5830
↓ 4 callersMethodTasksCleared
TasksCleared reports if the "tasks" edge to the Task entity was cleared.
ent/mutation.go:15991
↓ 4 callersMethodTextExtractor
TextExtractor Get a singleton searcher.TextExtractor instance for text extraction.
application/dependency/dependency.go:148
↓ 4 callersMethodThumbQueue
ThumbQueue Get a singleton queue.Queue instance for thumbnail generation.
application/dependency/dependency.go:120
↓ 4 callersMethodTwoFactorSecret
TwoFactorSecret returns the value of the "two_factor_secret" field in the mutation.
ent/mutation.go:15542
↓ 4 callersMethodType
Type returns the string representation of the query type.
ent/intercept/intercept.go:35
↓ 4 callersMethodType
()
pkg/filemanager/fs/dbfs/file.go:115
↓ 4 callersMethodUploadSessionTTL
UploadSessionTTL returns the TTL of upload session.
pkg/setting/provider.go:68
↓ 4 callersMethodUsedAt
UsedAt returns the value of the "used_at" field in the mutation.
ent/mutation.go:10431
↓ 4 callersFunctionUserID
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
ent/passkey/where.go:74
↓ 4 callersFunctionUserIDFromContext
UserIDFromContext get user id from context.
inventory/user.go:421
↓ 4 callersMethodUsersCleared
UsersCleared reports if the "users" edge to the User entity was cleared.
ent/mutation.go:5889
↓ 4 callersMethodWalk
Walk walks the file tree until limit is reached.
pkg/filemanager/fs/dbfs/navigator.go:47
↓ 4 callersMethodWebAuthn
WebAuthn Get a singleton webauthn.WebAuthn instance for WebAuthn authentication.
application/dependency/dependency.go:136
↓ 4 callersMethodWhere
Where adds a new predicate for the EntityQuery builder.
ent/entity_query.go:37
↓ 4 callersFunctionWithConflictBehavior
WithConflictBehavior 设置文件重名后的处理方式
pkg/filemanager/driver/onedrive/options.go:36
↓ 4 callersMethodWithFile
WithFile tells the query-builder to eager-load the nodes that are connected to the "file" edge. The optional arguments are used to configure the query
ent/share_query.go:322
↓ 4 callersFunctionWithMasterMeta
WithMasterMeta 请求时携带主机信息
pkg/request/options.go:118
↓ 4 callersFunctionWithNoEntityType
WithNoEntityType sets entity type to nil for manager.
pkg/filemanager/fs/fs.go:554
↓ 4 callersFunctionWithNoInternalProxy
WithNoInternalProxy overwrite policy's internal proxy setting
pkg/filemanager/manager/entitysource/entitysource.go:119
↓ 4 callersFunctionWithResumeTaskType
WithResumeTaskType set resume Task type
pkg/queue/options.go:81
↓ 4 callersMethodcachedWriteError
return the bufio Writer's cached write error
pkg/webdav/internal/xml/marshal.go:1099
↓ 4 callersMethodchildren
(ctx context.Context, parent *File, args *ListArgs)
pkg/filemanager/fs/dbfs/navigator.go:233
↓ 4 callersMethodcollectExpiredNodes
(now time.Time)
pkg/webdav/lock.go:138
↓ 4 callersMethodcollectExpiredNodes
(now time.Time)
pkg/filemanager/lock/memlock.go:262
↓ 4 callersMethoddefaultStart
defaultStart returns the default start element to use, given the reflect type, field info, and start template.
pkg/webdav/internal/xml/marshal.go:779
↓ 4 callersFunctiondigestPassword
(password string)
inventory/user.go:608
↓ 4 callersMethodfieldCanAutoIncrement
(field *gorm.StructField)
application/migrator/model/dialects/dialect_sqlite.go:41
↓ 4 callersFunctiongetValue
getValue 从itemWithTTL中取值
pkg/cache/memo.go:40
↓ 4 callersMethodgetc
Read a single byte. If there is no byte to read, return ok==false and leave the error in d.err. Maintain line number.
pkg/webdav/internal/xml/xml.go:886
↓ 4 callersFunctionmakeCopy
(b []byte)
pkg/webdav/internal/xml/xml.go:118
↓ 4 callersFunctionmin
(a, b int)
pkg/webdav/internal/xml/typeinfo.go:261
↓ 4 callersFunctionmirrorImg
(img image.Image)
pkg/thumb/libraw.go:251
↓ 4 callersFunctionnewDefaultOption
()
pkg/filemanager/driver/onedrive/options.go:53
↓ 4 callersFunctionnewNode
(ctx context.Context, model *ent.Node, config conf.ConfigProvider, settings setting.Provider)
pkg/cluster/node.go:78
↓ 4 callersFunctionnewTrashUri
(name string)
pkg/filemanager/fs/dbfs/navigator.go:552
↓ 4 callersFunctionnext
Next returns the next token, if any, in the XML stream of d. RFC 4918 requires to ignore comments, processing instructions and directives. http://www.
pkg/webdav/xml.go:122
↓ 4 callersFunctionpageTokenFromString
(s string, hasher hashid.Encoder, idType int)
inventory/common.go:52
↓ 4 callersFunctionparseDepth
parseDepth maps the strings "0", "1" and "infinity" to 0, 1 and infiniteDepth. Parsing any other string returns invalidDepth. Different WebDAV method
pkg/webdav/webdav.go:797
↓ 4 callersMethodprepareQuery
(ctx context.Context)
ent/setting_query.go:306
↓ 4 callersFunctionprepareTempFolder
(ctx context.Context, dep dependency.Dep, t queue.Task)
pkg/filemanager/workflows/worfklows.go:53
↓ 4 callersMethodsetParents
setParents sets the stack of current parents to those found in finfo. It only writes the start elements if vf holds a non-nil value. If finfo is &noFi
pkg/webdav/internal/xml/marshal.go:1144
↓ 4 callersMethodsqlQuery
(ctx context.Context)
ent/group_query.go:560
↓ 4 callersMethodsqlQuery
(ctx context.Context)
ent/oauthgrant_query.go:560
↓ 4 callersMethodsqlQuery
(ctx context.Context)
ent/share_query.go:568
↓ 4 callersFunctionsysError
(err error)
pkg/filemanager/driver/onedrive/api.go:463
↓ 4 callersMethodtoConflictDetail
(index int, hasher hashid.Encoder)
pkg/filemanager/lock/memlock.go:404
↓ 4 callersFunctionwithShareEagerLoading
(ctx context.Context, q *ent.ShareQuery)
inventory/share.go:421
↓ 4 callersMethodwriteEnd
(name Name)
pkg/webdav/internal/xml/marshal.go:902
↓ 4 callersMethodwriteStart
writeStart writes the given start element.
pkg/webdav/internal/xml/marshal.go:839
↓ 3 callersMethodAddedMaxSize
AddedMaxSize returns the value that was added to the "max_size" field in this mutation.
ent/mutation.go:13127
↓ 3 callersMethodAddedMaxStorage
AddedMaxStorage returns the value that was added to the "max_storage" field in this mutation.
ent/mutation.go:5641
↓ 3 callersMethodAddedPrimaryEntity
AddedPrimaryEntity returns the value that was added to the "primary_entity" field in this mutation.
ent/mutation.go:3413
↓ 3 callersMethodAddedReferenceCount
AddedReferenceCount returns the value that was added to the "reference_count" field in this mutation.
ent/mutation.go:2155
↓ 3 callersMethodAddedRemainDownloads
AddedRemainDownloads returns the value that was added to the "remain_downloads" field in this mutation.
ent/mutation.go:11925
↓ 3 callersMethodAddedSpeed
AddedSpeed returns the value that was added to the "speed" field in this mutation.
ent/mutation.go:1331
↓ 3 callersMethodAddedSpeedLimit
AddedSpeedLimit returns the value that was added to the "speed_limit" field in this mutation.
ent/mutation.go:5711
↓ 3 callersMethodAddedStorage
AddedStorage returns the value that was added to the "storage" field in this mutation.
ent/mutation.go:15522
↓ 3 callersMethodAddedViews
AddedViews returns the value that was added to the "views" field in this mutation.
ent/mutation.go:11764
↓ 3 callersMethodAddedWeight
AddedWeight returns the value that was added to the "weight" field in this mutation.
ent/mutation.go:7704
↓ 3 callersMethodAll
All executes the query and returns a list of Settings.
ent/setting_query.go:161
↓ 3 callersMethodAllSiteURLs
UseFirstSiteUrl returns the first site URL.
pkg/setting/provider.go:194
↓ 3 callersMethodAncestorsChain
AncestorsChain return all ancestors of the file (including itself), until the owner root is reached.
pkg/filemanager/fs/dbfs/file.go:272
↓ 3 callersFunctionAnd
And groups predicates with the AND operator between them.
ent/metadata/where.go:407
↓ 3 callersMethodApply
(any)
pkg/filemanager/fs/fs.go:333
↓ 3 callersMethodApplyStorageDiff
ApplyStorageDiff apply storage diff to user.
inventory/user.go:71
↓ 3 callersFunctionBuildDavAccount
(account *ent.DavAccount, hasher hashid.Encoder)
service/setting/response.go:35
↓ 3 callersFunctionBuildShare
(ctx context.Context, s *ent.Share, base *url.URL, hasher hashid.Encoder, requester *ent.User, owner *ent.User
service/explorer/response.go:346
↓ 3 callersFunctionByID
ByID orders the results by the id field.
ent/group/group.go:105
↓ 3 callersFunctionCacheControl
CacheControl 屏蔽客户端缓存
middleware/common.go:58
↓ 3 callersMethodCancel
Cancel the task with the given handle.
pkg/downloader/downloader.go:20
↓ 3 callersMethodCancelToken
CancelToken 取消已经创建的有状态上传凭证
pkg/filemanager/driver/handler.go:72
↓ 3 callersMethodCapEntities
CapEntities caps the number of entities of a given file. The oldest entities will be unlinked if entity count exceed limit.
inventory/file.go:192
↓ 3 callersMethodCapabilities
Capabilities returns the capabilities of the navigator.
pkg/filemanager/fs/dbfs/navigator.go:45
↓ 3 callersFunctionCaptchaRequired
CaptchaRequired 验证请求签名
middleware/captcha.go:48
↓ 3 callersFunctionCheckScope
(c *gin.Context, requiredScopes ...string)
pkg/auth/jwt.go:322
↓ 3 callersMethodChildrenIDs
ChildrenIDs returns the "children" edge IDs in the mutation.
ent/mutation.go:3771
↓ 3 callersMethodCleanup
Cleanup is called when the Task is done or error.
pkg/queue/task.go:72
↓ 3 callersMethodClearTwoFactorSecret
ClearTwoFactorSecret clears the value of the "two_factor_secret" field.
ent/mutation.go:15568
↓ 3 callersMethodClient
Client returns a Client that binds to current transaction.
ent/tx.go:171
← previousnext →801–900 of 11,486, ranked by callers