MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 10 callersMethodMediaMetaQueue
MediaMetaQueue Get a singleton queue.Queue instance for media metadata processing.
application/dependency/dependency.go:112
↓ 10 callersMethodNewDecoder
()
pkg/wopi/utf7.go:64
↓ 10 callersFunctionNewEntity
(model *ent.Entity)
pkg/filemanager/fs/fs.go:744
↓ 10 callersMethodOwner
Owner returns the Task owner
pkg/queue/task.go:32
↓ 10 callersMethodRelease
(ctx context.Context, session *LockSession)
pkg/filemanager/fs/dbfs/lock.go:201
↓ 10 callersMethodSecret
Secret returns the value of the "secret" field in the mutation.
ent/mutation.go:8488
↓ 10 callersMethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
ent/mutation.go:3116
↓ 10 callersMethodStat
()
application/statics/embed.go:392
↓ 10 callersMethodThumbSize
ThumbSize returns the size limit of thumbnails.
pkg/setting/provider.go:110
↓ 10 callersMethodTx
Tx returns the transaction wrapper (txDriver) to avoid Commit or Rollback calls from the internal builders. Should be called only by the internal buil
ent/tx.go:231
↓ 10 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the SettingCreate.OnConflict documentation for more info.
ent/setting_create.go:356
↓ 10 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the SettingCreateBulk.OnConflict documentation for more info.
ent/setting_create.go:642
↓ 10 callersMethodWait
()
pkg/queue/thread.go:22
↓ 10 callersFunctionWithExpire
WithExpire set expire time for file source
pkg/filemanager/manager/entitysource/entitysource.go:105
↓ 10 callersFunctionWithSlaveMeta
WithSlaveMeta set slave node ID in master's request header
pkg/request/options.go:127
↓ 10 callersMethodsaveState
saveState persists migration state to file
application/migrator/migrator.go:155
↓ 10 callersMethodsqlQuery
(ctx context.Context)
ent/file_query.go:1036
↓ 10 callersFunctionstripPrefix
(p string, u *ent.User)
pkg/webdav/webdav.go:41
↓ 10 callersMethodvalue
value returns v's field value corresponding to finfo. It's equivalent to v.FieldByIndex(finfo.idx), but initializes and dereferences pointers as neces
pkg/webdav/internal/xml/typeinfo.go:357
↓ 10 callersFunctionwithFileEagerLoading
(ctx context.Context, q *ent.FileQuery)
inventory/file_utils.go:331
↓ 9 callersMethodAdd
(id uint64, fn ResponseProcFn)
pkg/downloader/aria2/rpc/proc.go:19
↓ 9 callersFunctionCommit
(tx *Tx)
inventory/tx.go:97
↓ 9 callersFunctionCommitWithStorageDiff
CommitWithStorageDiff commits the transaction and applies the storage diff, only if the transaction is not inherited.
inventory/tx.go:103
↓ 9 callersMethodCredManager
CredManager Get a singleton credmanager.CredManager instance for credential management.
application/dependency/dependency.go:126
↓ 9 callersMethodDelete
Delete deletes a group of file or directory. UnlinkOnly indicates whether to delete file record in DB only.
pkg/filemanager/manager/manager.go:45
↓ 9 callersMethodEntitiesIDs
EntitiesIDs returns the "entities" edge IDs in the mutation.
ent/mutation.go:3879
↓ 9 callersMethodFlush
Flush flushes any buffered XML to the underlying writer. See the EncodeToken documentation for details about when it is necessary.
pkg/webdav/internal/xml/marshal.go:298
↓ 9 callersMethodGetLoginUserByID
GetLoginUserByID returns the login user by its ID. It emits some errors and fallback to anonymous user.
inventory/user.go:63
↓ 9 callersMethodGobDecode
GobDecode 将 Response 正文解码至目标指针
pkg/serializer/response.go:32
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:459
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:610
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:793
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1056
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1206
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1373
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1524
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1675
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1826
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:1993
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:2144
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:2279
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:2446
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:2645
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:2796
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:3075
↓ 9 callersFunctionID
ID filters vertices based on their ID field.
ent/user/where.go:14
↓ 9 callersMethodIsDir
()
pkg/webdav/prop.go:178
↓ 9 callersFunctionMasterSlaveCallbackUrl
(base *url.URL, driver, id, secret string)
pkg/cluster/routes/routes.go:46
↓ 9 callersMethodModel
()
pkg/filemanager/fs/fs.go:186
↓ 9 callersFunctionName
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/setting/where.go:73
↓ 9 callersFunctionNewMemoStore
NewMemoStore 新建内存存储
pkg/cache/memo.go:72
↓ 9 callersFunctionNewResponseWithGobData
NewResponseWithGobData 返回Data字段使用gob编码的Response
pkg/serializer/response.go:21
↓ 9 callersFunctionNewStoragePolicyClient
NewStoragePolicyClient returns a client for the StoragePolicy from the given config.
ent/client.go:2478
↓ 9 callersFunctionNewUriFromStrings
(u ...string)
pkg/filemanager/fs/uri.go:61
↓ 9 callersFunctionOr
Or groups predicates with the OR operator between them.
ent/file/where.go:673
↓ 9 callersFunctionProcessCallback
RemoteCallback process callback request to complete upload
routers/controllers/callback.go:17
↓ 9 callersMethodReset
()
pkg/filemanager/chunk/backoff/backoff.go:15
↓ 9 callersMethodSearchIndexer
SearchIndexer Get a singleton searcher.SearchIndexer instance for full-text search indexing.
application/dependency/dependency.go:146
↓ 9 callersMethodSet
Set 存储值
pkg/cache/memo.go:87
↓ 9 callersMethodSetPrimaryEntity
SetPrimaryEntity sets primary entity of a file
inventory/file.go:207
↓ 9 callersMethodSetRawID
(t int)
ent/file_create.go:1038
↓ 9 callersFunctionUseUploadSession
对上传会话进行验证
middleware/auth.go:178
↓ 9 callersFunctionWithContext
WithContext set context for file source
pkg/filemanager/manager/entitysource/entitysource.go:133
↓ 9 callersFunctionWithCredential
WithCredential 对请求进行签名
pkg/request/options.go:82
↓ 9 callersFunctionWithDisplayName
WithDisplayName set display name for file source
pkg/filemanager/manager/entitysource/entitysource.go:126
↓ 9 callersFunctionWithHeader
WithHeader 设置请求Header
pkg/request/options.go:92
↓ 9 callersFunctionWithTimeout
WithTimeout 设置请求超时
pkg/request/options.go:68
↓ 9 callersMethodgetEntityPolicyDriver
(cxt context.Context, e fs.Entity, policyOverwrite *ent.StoragePolicy)
pkg/filemanager/manager/fs.go:92
↓ 9 callersMethodgetRequestURL
(api string, opts ...Option)
pkg/filemanager/driver/onedrive/api.go:50
↓ 9 callersFunctionnewDbfsOption
()
pkg/filemanager/fs/dbfs/options.go:33
↓ 9 callersFunctionnewOption
()
pkg/filemanager/manager/manager.go:192
↓ 9 callersMethodrelativePath
(file *File)
pkg/filemanager/fs/dbfs/events.go:139
↓ 9 callersFunctionwithUserEagerLoading
(ctx context.Context, q *ent.UserQuery)
inventory/user.go:596
↓ 8 callersMethodBool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
ent/ent.go:496
↓ 8 callersFunctionBuildFileResponse
(ctx context.Context, u *ent.User, f fs.File, hasher hashid.Encoder, cap *boolset.BooleanSet)
service/explorer/response.go:407
↓ 8 callersMethodBusyWorkers
BusyWorkers returns the numbers of workers in the running process.
pkg/queue/queue.go:27
↓ 8 callersMethodEmail
Email returns the value of the "email" field in the mutation.
ent/mutation.go:15329
↓ 8 callersMethodEncrypted
()
pkg/filemanager/fs/fs.go:188
↓ 8 callersMethodEncryptorFactory
EncryptorFactory Get a new encrypt.CryptorFactory instance.
application/dependency/dependency.go:142
↓ 8 callersMethodExecContext
ExecContext allows calling the underlying ExecContext method of the transaction if it is supported by it. See, database/sql#Tx.ExecContext for more in
ent/tx.go:261
↓ 8 callersMethodFTSEnabled
FTSEnabled returns true if full-text search is enabled.
pkg/setting/provider.go:226
↓ 8 callersMethodFileID
FileID returns the "file" edge ID in the mutation.
ent/mutation.go:12057
↓ 8 callersMethodFilesCleared
FilesCleared reports if the "files" edge to the File entity was cleared.
ent/mutation.go:15775
↓ 8 callersMethodGUID
GUID returns the value of the "guid" field in the mutation.
ent/mutation.go:8452
↓ 8 callersMethodGetStorageDriver
(ctx context.Context, policy *ent.StoragePolicy)
pkg/filemanager/manager/fs.go:65
↓ 8 callersFunctionID
ID filters vertices based on their ID field.
ent/task/where.go:15
↓ 8 callersFunctionID
ID filters vertices based on their ID field.
ent/group/where.go:15
↓ 8 callersFunctionIDIn
IDIn applies the In predicate on the ID field.
ent/user/where.go:29
↓ 8 callersFunctionIntVal
IntVal converts a string to a validated integer or a default if invalid.
pkg/mediameta/exif.go:775
↓ 8 callersFunctionIsInExtensionList
IsInExtensionList 返回文件的扩展名是否在给定的列表范围内
pkg/util/common.go:73
↓ 8 callersFunctionIsUInt
(s string)
pkg/mediameta/exif.go:641
↓ 8 callersMethodKV
()
application/dependency/dependency.go:357
↓ 8 callersMethodNewEncoder
()
pkg/wopi/utf7.go:68
↓ 8 callersFunctionNewEntityClient
NewEntityClient returns a client for the Entity from the given config.
ent/client.go:642
↓ 8 callersMethodNick
Nick returns the value of the "nick" field in the mutation.
ent/mutation.go:15365
↓ 8 callersMethodNodeClient
NodeClient Creates a new inventory.NodeClient instance for access DB node store.
application/dependency/dependency.go:88
↓ 8 callersMethodNodePool
NodePool Get a singleton cluster.NodePool instance for node pool management.
application/dependency/dependency.go:132
↓ 8 callersMethodNum
Num returns the total chunk number
pkg/filemanager/chunk/chunk.go:144
↓ 8 callersMethodOwnerCleared
OwnerCleared reports if the "owner" edge to the User entity was cleared.
ent/mutation.go:3631
↓ 8 callersMethodPropsCleared
PropsCleared returns if the "props" field was cleared in this mutation.
ent/mutation.go:3564
← previousnext →301–400 of 11,486, ranked by callers