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
↓ 3 callers
Method
ClientIDs
ClientIDs returns the "client" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use ClientID inst
ent/mutation.go:9685
↓ 3 callers
Method
Close
()
pkg/downloader/aria2/rpc/call.go:20
↓ 3 callers
Method
CompleteUpload
CompleteUpload completes an upload session.
pkg/filemanager/fs/fs.go:109
↓ 3 callers
Method
CompleteUpload
CompleteUpload completes upload session and returns file object
pkg/filemanager/manager/upload.go:34
↓ 3 callers
Function
ContainsUint
ContainsUint 返回list中是否包含
pkg/util/common.go:63
↓ 3 callers
Function
Create
Create creates all table resources using the given schema driver.
ent/migrate/migrate.go:49
↓ 3 callers
Method
CreateArchive
CreateArchive creates an archive
pkg/filemanager/manager/manager.go:91
↓ 3 callers
Method
DavAccountsIDs
DavAccountsIDs returns the "dav_accounts" edge IDs in the mutation.
ent/mutation.go:15853
↓ 3 callers
Function
DecryptWithMasterKey
DecryptWithMasterKey decrypts data using the master key with AES-256-CTR Input format: [16-byte IV] + [encrypted data]
pkg/filemanager/encrypt/encrypt.go:75
↓ 3 callers
Method
Delete
Delete 批量删除给定的键
pkg/cache/redis.go:191
↓ 3 callers
Method
Delete
Delete deletes the Task by ID.
pkg/queue/registry.go:15
↓ 3 callers
Method
Delete
Delete deletes the storage policy.
inventory/policy.go:44
↓ 3 callers
Method
DirectLinkClient
DirectLinkClient Creates a new inventory.DirectLinkClient instance for access DB direct link store.
application/dependency/dependency.go:92
↓ 3 callers
Method
DirectLinksIDs
DirectLinksIDs returns the "direct_links" edge IDs in the mutation.
ent/mutation.go:3987
↓ 3 callers
Function
DotPathToStandardPath
DotPathToStandardPath 将","分割的路径转换为标准路径
pkg/util/path.go:18
↓ 3 callers
Function
Driver
Driver configures the client driver.
ent/client.go:154
↓ 3 callers
Function
EncodeTaskID
EncodeTaskID encode task id to hash id
pkg/hashid/hash.go:109
↓ 3 callers
Method
EncodeToken
EncodeToken writes the given XML token to the stream. It returns an error if StartElement and EndElement tokens are not properly matched. EncodeToken
pkg/webdav/internal/xml/marshal.go:201
↓ 3 callers
Function
ErrDeprecated
ErrDeprecated 通用错误处理
pkg/serializer/error.go:320
↓ 3 callers
Method
Error
Error 错误
pkg/util/logger.go:78
↓ 3 callers
Method
EventHub
EventHub Get a singleton eventhub.EventHub instance for event publishing.
application/dependency/dependency.go:144
↓ 3 callers
Method
FailNow
()
ent/enttest/enttest.go:20
↓ 3 callers
Function
FileID
FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.
ent/metadata/where.go:84
↓ 3 callers
Method
FileInfo
(c *gin.Context)
service/explorer/viewer.go:325
↓ 3 callers
Method
FileViewers
FileViewers returns the file viewers settings.
pkg/setting/provider.go:178
↓ 3 callers
Method
ForkWithLogger
ForkWithLogger create a shallow copy of dependency with a new correlated logger, used as per-request dep.
application/dependency/dependency.go:110
↓ 3 callers
Method
FseventsIDs
FseventsIDs returns the "fsevents" edge IDs in the mutation.
ent/mutation.go:16069
↓ 3 callers
Method
GarbageCollect
GarbageCollect 回收已过期的缓存
pkg/cache/memo.go:59
↓ 3 callers
Method
Get
(c *gin.Context)
service/admin/user.go:97
↓ 3 callers
Method
Get
(ctx context.Context, path *fs.URI, opts ...fs.Option)
pkg/filemanager/fs/dbfs/dbfs.go:371
↓ 3 callers
Method
GetByGUIDWithGrants
GetByGUIDWithGrants returns the OAuth client by its GUID (client_id) with the grants for the user.
inventory/oauth_client.go:24
↓ 3 callers
Method
GetNodeById
GetNodeById returns the node by id.
inventory/node.go:19
↓ 3 callers
Method
GrantsIDs
GrantsIDs returns the "grants" edge IDs in the mutation.
ent/mutation.go:8817
↓ 3 callers
Method
GroupID
GroupID returns the "group" edge ID in the mutation.
ent/mutation.go:15736
↓ 3 callers
Method
GroupIDs
GroupIDs returns the "group" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use GroupID instead
ent/mutation.go:15746
↓ 3 callers
Method
GroupsIDs
GroupsIDs returns the "groups" edge IDs in the mutation.
ent/mutation.go:13391
↓ 3 callers
Function
HasUserWith
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
ent/share/where.go:505
↓ 3 callers
Function
ID
ID filters vertices based on their ID field.
ent/oauthclient/where.go:14
↓ 3 callers
Function
ID
ID filters vertices based on their ID field.
ent/davaccount/where.go:15
↓ 3 callers
Function
ID
ID filters vertices based on their ID field.
ent/entity/where.go:15
↓ 3 callers
Function
IDIn
IDIn applies the In predicate on the ID field.
ent/storagepolicy/where.go:29
↓ 3 callers
Function
IDIn
IDIn applies the In predicate on the ID field.
ent/entity/where.go:30
↓ 3 callers
Function
IDIn
IDIn applies the In predicate on the ID field.
ent/node/where.go:30
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Setting IDs.
ent/setting_query.go:180
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Node IDs.
ent/node_query.go:205
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of StoragePolicy IDs.
ent/storagepolicy_query.go:277
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Group IDs.
ent/group_query.go:229
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of FsEvent IDs.
ent/fsevent_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of DavAccount IDs.
ent/davaccount_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Metadata IDs.
ent/metadata_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of OAuthGrant IDs.
ent/oauthgrant_query.go:228
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of DirectLink IDs.
ent/directlink_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Passkey IDs.
ent/passkey_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Share IDs.
ent/share_query.go:229
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of OAuthClient IDs.
ent/oauthclient_query.go:205
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Task IDs.
ent/task_query.go:204
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Entity IDs.
ent/entity_query.go:253
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of File IDs.
ent/file_query.go:371
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of User IDs.
ent/user_query.go:397
↓ 3 callers
Method
Info
Info returns the status of the task with the given handle.
pkg/downloader/downloader.go:18
↓ 3 callers
Function
IsAdmin
IsAdmin 必须为管理员用户组
middleware/auth.go:262
↓ 3 callers
Function
IsEnabled
IsEnabled applies equality check predicate on the "is_enabled" field. It's identical to IsEnabledEQ.
ent/oauthclient/where.go:94
↓ 3 callers
Function
IsValidShare
(share *ent.Share)
inventory/share.go:227
↓ 3 callers
Method
ListPasskeys
ListPasskeys list user's passkeys.
inventory/user.go:81
↓ 3 callers
Method
Logo
Logo returns the logo settings.
pkg/setting/provider.go:162
↓ 3 callers
Method
MarshalBinary
()
pkg/boolset/boolset.go:33
↓ 3 callers
Function
MasterDirectLink
(base *url.URL, id, name string)
pkg/cluster/routes/routes.go:78
↓ 3 callers
Method
MaxOnlineEditSize
MaxOnlineEditSize returns the maximum size of online editing.
pkg/setting/provider.go:70
↓ 3 callers
Method
MaxParallelTransfer
MaxParallelTransfer returns the maximum parallel transfer in workflows.
pkg/setting/provider.go:184
↓ 3 callers
Method
Merge
(d *IndexDiff)
pkg/filemanager/fs/fs.go:849
↓ 3 callers
Method
Meta
Meta 获取文件信息
pkg/filemanager/driver/s3/s3.go:414
↓ 3 callers
Method
Meta
Meta 获取文件元信息
pkg/filemanager/driver/ks3/ks3.go:543
↓ 3 callers
Method
MetadataIDs
MetadataIDs returns the "metadata" edge IDs in the mutation.
ent/mutation.go:3825
↓ 3 callers
Method
Mode
()
application/statics/embed.go:240
↓ 3 callers
Method
MoveOrCopy
Move moves files to dst.
pkg/filemanager/fs/fs.go:81
↓ 3 callers
Method
Name
()
pkg/filemanager/fs/dbfs/file.go:78
↓ 3 callers
Function
New
New constructs a new local driver
pkg/filemanager/driver/local/local.go:52
↓ 3 callers
Function
NewClient
NewClient creates a new client configured with the given options.
ent/client.go:78
↓ 3 callers
Function
NewClientDeprecated
Deprecated
pkg/request/request.go:76
↓ 3 callers
Function
NewConsoleLogger
NewConsoleLogger initializes a new logging that prints logs to Stdout.
pkg/logging/logger.go:46
↓ 3 callers
Function
NewDownloader
NewDownloader creates a new downloader instance from the node for remote download tasks.
pkg/cluster/node.go:221
↓ 3 callers
Function
NewMasterEncryptKeyVault
(ctx context.Context, settings setting.Provider)
pkg/filemanager/encrypt/masterkey.go:22
↓ 3 callers
Function
NewShareUri
(id, password string)
pkg/filemanager/fs/uri.go:357
↓ 3 callers
Method
NextID
NextID returns the next available Task ID.
pkg/queue/registry.go:9
↓ 3 callers
Method
NextIndex
NextIndex 返回下一个节点下标
pkg/balancer/roundrobin.go:28
↓ 3 callers
Method
NextPeer
NextPeer 返回轮盘的下一节点
pkg/balancer/roundrobin.go:13
↓ 3 callers
Method
NodeIDs
NodeIDs returns the "node" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use NodeID instead. I
ent/mutation.go:13527
↓ 3 callers
Method
OauthGrantsIDs
OauthGrantsIDs returns the "oauth_grants" edge IDs in the mutation.
ent/mutation.go:16177
↓ 3 callers
Function
On
On executes the given hook only for the given operation. hook.On(Log, ent.Delete|ent.Create)
ent/hook/hook.go:313
↓ 3 callers
Method
OnError
OnError is called when the Task encounters an error
pkg/queue/task.go:63
↓ 3 callers
Method
Owner
()
pkg/filemanager/fs/dbfs/file.go:145
↓ 3 callers
Function
OwnerID
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
ent/file/where.go:79
↓ 3 callers
Function
OwnerID
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
ent/davaccount/where.go:95
↓ 3 callers
Method
PWA
PWA related settings
pkg/setting/provider.go:24
↓ 3 callers
Function
ParamErrDeprecated
ParamErrDeprecated 各种参数错误 Deprecated
pkg/serializer/error.go:312
↓ 3 callers
Method
ParentIDs
ParentIDs returns the "parent" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use ParentID inst
ent/mutation.go:3718
↓ 3 callers
Method
PasskeyIDs
PasskeyIDs returns the "passkey" edge IDs in the mutation.
ent/mutation.go:15961
↓ 3 callers
Method
Patch
Patch patches the dead properties held. Patching is atomic; either all or no patches succeed. It returns (nil, non-nil) if an internal server error o
pkg/webdav/prop.go:260
↓ 3 callers
Method
Push
(x interface{})
pkg/webdav/lock.go:402
↓ 3 callers
Method
Push
(x interface{})
pkg/filemanager/lock/memlock.go:432
← previous
next →
901–1,000 of 11,486, ranked by callers