Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudreve/cloudreve
/ functions
Functions
11,486 in github.com/cloudreve/cloudreve
⨍
Functions
11,486
◇
Types & classes
1,532
↓ 10 callers
Method
MediaMetaQueue
MediaMetaQueue Get a singleton queue.Queue instance for media metadata processing.
application/dependency/dependency.go:112
↓ 10 callers
Method
NewDecoder
()
pkg/wopi/utf7.go:64
↓ 10 callers
Function
NewEntity
(model *ent.Entity)
pkg/filemanager/fs/fs.go:744
↓ 10 callers
Method
Owner
Owner returns the Task owner
pkg/queue/task.go:32
↓ 10 callers
Method
Release
(ctx context.Context, session *LockSession)
pkg/filemanager/fs/dbfs/lock.go:201
↓ 10 callers
Method
Secret
Secret returns the value of the "secret" field in the mutation.
ent/mutation.go:8488
↓ 10 callers
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
ent/mutation.go:3116
↓ 10 callers
Method
Stat
()
application/statics/embed.go:392
↓ 10 callers
Method
ThumbSize
ThumbSize returns the size limit of thumbnails.
pkg/setting/provider.go:110
↓ 10 callers
Method
Tx
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 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the SettingCreate.OnConflict documentation for more info.
ent/setting_create.go:356
↓ 10 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the SettingCreateBulk.OnConflict documentation for more info.
ent/setting_create.go:642
↓ 10 callers
Method
Wait
()
pkg/queue/thread.go:22
↓ 10 callers
Function
WithExpire
WithExpire set expire time for file source
pkg/filemanager/manager/entitysource/entitysource.go:105
↓ 10 callers
Function
WithSlaveMeta
WithSlaveMeta set slave node ID in master's request header
pkg/request/options.go:127
↓ 10 callers
Method
saveState
saveState persists migration state to file
application/migrator/migrator.go:155
↓ 10 callers
Method
sqlQuery
(ctx context.Context)
ent/file_query.go:1036
↓ 10 callers
Function
stripPrefix
(p string, u *ent.User)
pkg/webdav/webdav.go:41
↓ 10 callers
Method
value
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 callers
Function
withFileEagerLoading
(ctx context.Context, q *ent.FileQuery)
inventory/file_utils.go:331
↓ 9 callers
Method
Add
(id uint64, fn ResponseProcFn)
pkg/downloader/aria2/rpc/proc.go:19
↓ 9 callers
Function
Commit
(tx *Tx)
inventory/tx.go:97
↓ 9 callers
Function
CommitWithStorageDiff
CommitWithStorageDiff commits the transaction and applies the storage diff, only if the transaction is not inherited.
inventory/tx.go:103
↓ 9 callers
Method
CredManager
CredManager Get a singleton credmanager.CredManager instance for credential management.
application/dependency/dependency.go:126
↓ 9 callers
Method
Delete
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 callers
Method
EntitiesIDs
EntitiesIDs returns the "entities" edge IDs in the mutation.
ent/mutation.go:3879
↓ 9 callers
Method
Flush
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 callers
Method
GetLoginUserByID
GetLoginUserByID returns the login user by its ID. It emits some errors and fallback to anonymous user.
inventory/user.go:63
↓ 9 callers
Method
GobDecode
GobDecode 将 Response 正文解码至目标指针
pkg/serializer/response.go:32
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:459
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:610
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:793
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1056
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1206
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1373
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1524
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1675
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1826
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:1993
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2144
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2279
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2446
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2645
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:2796
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:3075
↓ 9 callers
Function
ID
ID filters vertices based on their ID field.
ent/user/where.go:14
↓ 9 callers
Method
IsDir
()
pkg/webdav/prop.go:178
↓ 9 callers
Function
MasterSlaveCallbackUrl
(base *url.URL, driver, id, secret string)
pkg/cluster/routes/routes.go:46
↓ 9 callers
Method
Model
()
pkg/filemanager/fs/fs.go:186
↓ 9 callers
Function
Name
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/setting/where.go:73
↓ 9 callers
Function
NewMemoStore
NewMemoStore 新建内存存储
pkg/cache/memo.go:72
↓ 9 callers
Function
NewResponseWithGobData
NewResponseWithGobData 返回Data字段使用gob编码的Response
pkg/serializer/response.go:21
↓ 9 callers
Function
NewStoragePolicyClient
NewStoragePolicyClient returns a client for the StoragePolicy from the given config.
ent/client.go:2478
↓ 9 callers
Function
NewUriFromStrings
(u ...string)
pkg/filemanager/fs/uri.go:61
↓ 9 callers
Function
Or
Or groups predicates with the OR operator between them.
ent/file/where.go:673
↓ 9 callers
Function
ProcessCallback
RemoteCallback process callback request to complete upload
routers/controllers/callback.go:17
↓ 9 callers
Method
Reset
()
pkg/filemanager/chunk/backoff/backoff.go:15
↓ 9 callers
Method
SearchIndexer
SearchIndexer Get a singleton searcher.SearchIndexer instance for full-text search indexing.
application/dependency/dependency.go:146
↓ 9 callers
Method
Set
Set 存储值
pkg/cache/memo.go:87
↓ 9 callers
Method
SetPrimaryEntity
SetPrimaryEntity sets primary entity of a file
inventory/file.go:207
↓ 9 callers
Method
SetRawID
(t int)
ent/file_create.go:1038
↓ 9 callers
Function
UseUploadSession
对上传会话进行验证
middleware/auth.go:178
↓ 9 callers
Function
WithContext
WithContext set context for file source
pkg/filemanager/manager/entitysource/entitysource.go:133
↓ 9 callers
Function
WithCredential
WithCredential 对请求进行签名
pkg/request/options.go:82
↓ 9 callers
Function
WithDisplayName
WithDisplayName set display name for file source
pkg/filemanager/manager/entitysource/entitysource.go:126
↓ 9 callers
Function
WithHeader
WithHeader 设置请求Header
pkg/request/options.go:92
↓ 9 callers
Function
WithTimeout
WithTimeout 设置请求超时
pkg/request/options.go:68
↓ 9 callers
Method
getEntityPolicyDriver
(cxt context.Context, e fs.Entity, policyOverwrite *ent.StoragePolicy)
pkg/filemanager/manager/fs.go:92
↓ 9 callers
Method
getRequestURL
(api string, opts ...Option)
pkg/filemanager/driver/onedrive/api.go:50
↓ 9 callers
Function
newDbfsOption
()
pkg/filemanager/fs/dbfs/options.go:33
↓ 9 callers
Function
newOption
()
pkg/filemanager/manager/manager.go:192
↓ 9 callers
Method
relativePath
(file *File)
pkg/filemanager/fs/dbfs/events.go:139
↓ 9 callers
Function
withUserEagerLoading
(ctx context.Context, q *ent.UserQuery)
inventory/user.go:596
↓ 8 callers
Method
Bool
Bool returns a single bool from a selector. It is only allowed when selecting one field.
ent/ent.go:496
↓ 8 callers
Function
BuildFileResponse
(ctx context.Context, u *ent.User, f fs.File, hasher hashid.Encoder, cap *boolset.BooleanSet)
service/explorer/response.go:407
↓ 8 callers
Method
BusyWorkers
BusyWorkers returns the numbers of workers in the running process.
pkg/queue/queue.go:27
↓ 8 callers
Method
Email
Email returns the value of the "email" field in the mutation.
ent/mutation.go:15329
↓ 8 callers
Method
Encrypted
()
pkg/filemanager/fs/fs.go:188
↓ 8 callers
Method
EncryptorFactory
EncryptorFactory Get a new encrypt.CryptorFactory instance.
application/dependency/dependency.go:142
↓ 8 callers
Method
ExecContext
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 callers
Method
FTSEnabled
FTSEnabled returns true if full-text search is enabled.
pkg/setting/provider.go:226
↓ 8 callers
Method
FileID
FileID returns the "file" edge ID in the mutation.
ent/mutation.go:12057
↓ 8 callers
Method
FilesCleared
FilesCleared reports if the "files" edge to the File entity was cleared.
ent/mutation.go:15775
↓ 8 callers
Method
GUID
GUID returns the value of the "guid" field in the mutation.
ent/mutation.go:8452
↓ 8 callers
Method
GetStorageDriver
(ctx context.Context, policy *ent.StoragePolicy)
pkg/filemanager/manager/fs.go:65
↓ 8 callers
Function
ID
ID filters vertices based on their ID field.
ent/task/where.go:15
↓ 8 callers
Function
ID
ID filters vertices based on their ID field.
ent/group/where.go:15
↓ 8 callers
Function
IDIn
IDIn applies the In predicate on the ID field.
ent/user/where.go:29
↓ 8 callers
Function
IntVal
IntVal converts a string to a validated integer or a default if invalid.
pkg/mediameta/exif.go:775
↓ 8 callers
Function
IsInExtensionList
IsInExtensionList 返回文件的扩展名是否在给定的列表范围内
pkg/util/common.go:73
↓ 8 callers
Function
IsUInt
(s string)
pkg/mediameta/exif.go:641
↓ 8 callers
Method
KV
()
application/dependency/dependency.go:357
↓ 8 callers
Method
NewEncoder
()
pkg/wopi/utf7.go:68
↓ 8 callers
Function
NewEntityClient
NewEntityClient returns a client for the Entity from the given config.
ent/client.go:642
↓ 8 callers
Method
Nick
Nick returns the value of the "nick" field in the mutation.
ent/mutation.go:15365
↓ 8 callers
Method
NodeClient
NodeClient Creates a new inventory.NodeClient instance for access DB node store.
application/dependency/dependency.go:88
↓ 8 callers
Method
NodePool
NodePool Get a singleton cluster.NodePool instance for node pool management.
application/dependency/dependency.go:132
↓ 8 callers
Method
Num
Num returns the total chunk number
pkg/filemanager/chunk/chunk.go:144
↓ 8 callers
Method
OwnerCleared
OwnerCleared reports if the "owner" edge to the User entity was cleared.
ent/mutation.go:3631
↓ 8 callers
Method
PropsCleared
PropsCleared returns if the "props" field was cleared in this mutation.
ent/mutation.go:3564
← previous
next →
301–400 of 11,486, ranked by callers