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
↓ 5 callers
Function
FindDesiredEntity
FindDesiredEntity finds the desired entity from the file. entityType is optional, if it is not nil, it will only return the entity with the given type
pkg/filemanager/fs/fs.go:711
↓ 5 callers
Function
FormSlash
FormSlash 将path中的反斜杠'\'替换为'/'
pkg/util/path.go:54
↓ 5 callers
Function
GUID
GUID applies equality check predicate on the "guid" field. It's identical to GUIDEQ.
ent/oauthclient/where.go:74
↓ 5 callers
Method
Get
Get 取值
pkg/cache/memo.go:93
↓ 5 callers
Method
GetChildFiles
Get all files under a given root
inventory/file.go:159
↓ 5 callers
Method
GetResponseIgnoreErr
GetResponseIgnoreErr 获取响应正文
pkg/request/request.go:237
↓ 5 callers
Method
GroupBy
GroupBy is used to group vertices by one or more fields/columns. It is often used with aggregate functions, like: count, max, mean, min, sum. Example
ent/node_query.go:309
↓ 5 callers
Function
IDLT
IDLT applies the LT predicate on the ID field.
ent/file/where.go:49
↓ 5 callers
Function
IsInExtensionListExt
IsInExtensionList 返回文件的扩展名是否在给定的列表范围内
pkg/util/common.go:88
↓ 5 callers
Method
IsLocal
()
pkg/filemanager/manager/entitysource/entitysource.go:262
↓ 5 callers
Method
IsPrivate
IsPrivate returns the value of the "is_private" field in the mutation.
ent/mutation.go:12944
↓ 5 callers
Function
IsTrueValue
(val string)
pkg/setting/provider.go:891
↓ 5 callers
Function
MasterShareUrl
(base *url.URL, id, password string)
pkg/cluster/routes/routes.go:69
↓ 5 callers
Method
MediaMetaExtractor
MediaMetaExtractor Get a singleton mediameta.Extractor instance for media metadata extraction.
application/dependency/dependency.go:116
↓ 5 callers
Method
ModTime
()
pkg/webdav/prop.go:177
↓ 5 callers
Method
Mutate
Mutate calls f(ctx, m).
ent/hook/hook.go:53
↓ 5 callers
Function
New
New returns an instance of Client
pkg/downloader/aria2/rpc/client.go:33
↓ 5 callers
Function
NewDependency
NewDependency creates a new Dep instance for construct dependencies.
application/dependency/dependency.go:209
↓ 5 callers
Function
NewSettingClient
NewSettingClient returns a client for the Setting from the given config.
ent/client.go:2176
↓ 5 callers
Method
PatchMetadata
UpsertMetadata update or insert metadata of a file.
pkg/filemanager/fs/fs.go:87
↓ 5 callers
Method
Permissions
Permissions returns the value of the "permissions" field in the mutation.
ent/mutation.go:5745
↓ 5 callers
Function
PrepareSlaveDownloader
PrepareSlaveDownloader creates or resume a downloader based on input node settings
middleware/cluster.go:24
↓ 5 callers
Method
PrepareUpload
Similar to CompleteUpload, but does not create actual uplaod session in storage.
pkg/filemanager/manager/upload.go:40
↓ 5 callers
Method
PublicResourceMaxAge
PublicResourceMaxAge returns the max age of public resources.
pkg/setting/provider.go:85
↓ 5 callers
Method
PublicState
PublicState returns the value of the "public_state" field in the mutation.
ent/mutation.go:14466
↓ 5 callers
Method
Put
上传文件, dst为文件存储路径,size 为文件大小。上下文关闭 时,应取消上传并清理临时文件
pkg/filemanager/driver/handler.go:47
↓ 5 callers
Method
Recycle
()
pkg/filemanager/fs/dbfs/navigator.go:39
↓ 5 callers
Method
Refresh
Refresh refreshes the given refresh token and returns a new pair of credentials.
pkg/auth/jwt.go:32
↓ 5 callers
Method
RemoteDownloadQueue
RemoteDownloadQueue Get a singleton queue.Queue instance for remote download tasks.
application/dependency/dependency.go:130
↓ 5 callers
Method
ResetDownloads
ResetDownloads resets all changes to the "downloads" field.
ent/mutation.go:11829
↓ 5 callers
Method
ResetSize
ResetSize resets all changes to the "size" field.
ent/mutation.go:3366
↓ 5 callers
Method
ResetType
ResetType resets all changes to the "type" field.
ent/mutation.go:3238
↓ 5 callers
Method
ResumeTime
ResumeTime returns the time when the Task is resumed
pkg/queue/task.go:52
↓ 5 callers
Method
Root
Root returns the root folder of a given user
inventory/file.go:161
↓ 5 callers
Method
SecretKey
SecretKey returns the secret key for general signature.
pkg/setting/provider.go:54
↓ 5 callers
Method
Seek
(offset int64, whence int)
pkg/filemanager/fs/fs.go:657
↓ 5 callers
Method
Set
Set 存储值
pkg/cache/redis.go:83
↓ 5 callers
Method
SetAccessKey
SetAccessKey sets the "access_key" field.
ent/mutation.go:12988
↓ 5 callers
Method
SetDirNameRule
SetDirNameRule sets the "dir_name_rule" field.
ent/mutation.go:13156
↓ 5 callers
Method
SetDownloads
SetDownloads sets the "downloads" field.
ent/mutation.go:11779
↓ 5 callers
Method
SetEmail
SetEmail sets the "email" field.
ent/mutation.go:15324
↓ 5 callers
Method
SetFileNameRule
SetFileNameRule sets the "file_name_rule" field.
ent/mutation.go:13205
↓ 5 callers
Method
SetGroupID
SetGroupID sets the "group" edge to the Group entity by id.
ent/mutation.go:15720
↓ 5 callers
Method
SetIsEnabled
SetIsEnabled sets the "is_enabled" field.
ent/mutation.go:8742
↓ 5 callers
Method
SetParent
SetParent sets parent of group of files
inventory/file.go:177
↓ 5 callers
Method
SetRedirectUris
SetRedirectUris sets the "redirect_uris" field.
ent/mutation.go:8604
↓ 5 callers
Method
SetSecret
SetSecret sets the "secret" field.
ent/mutation.go:8483
↓ 5 callers
Method
SetSlaveKey
SetSlaveKey sets the "slave_key" field.
ent/mutation.go:7529
↓ 5 callers
Function
SetUserCtx
SetUserCtx set the current login user via uid
middleware/auth.go:74
↓ 5 callers
Method
SetUserID
SetUserID sets the "user" edge to the User entity by id.
ent/mutation.go:14644
↓ 5 callers
Function
SliceDifference
SliceDifference 求两个切片差集
pkg/util/common.go:233
↓ 5 callers
Method
Speed
Speed returns the value of the "speed" field in the mutation.
ent/mutation.go:1296
↓ 5 callers
Method
Strings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
ent/ent.go:334
↓ 5 callers
Method
Subscriber
Subscriber returns the value of the "subscriber" field in the mutation.
ent/mutation.go:4890
↓ 5 callers
Method
TaskClient
()
application/dependency/dependency.go:815
↓ 5 callers
Method
TaskRegistry
TaskRegistry Get a singleton queue.TaskRegistry instance for task registration.
application/dependency/dependency.go:134
↓ 5 callers
Method
Token
Token returns the next XML token in the input stream. At the end of the input stream, Token returns nil, io.EOF. Slices of bytes in the returned toke
pkg/webdav/internal/xml/xml.go:272
↓ 5 callers
Function
TypeEQ
TypeEQ applies the EQ predicate on the "type" field.
ent/file/where.go:189
↓ 5 callers
Method
URI
URI returns the value of the "uri" field in the mutation.
ent/mutation.go:347
↓ 5 callers
Method
UpsertMetadata
UpsertMetadata update or insert metadata
inventory/file.go:194
↓ 5 callers
Function
UserID
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
ent/oauthgrant/where.go:74
↓ 5 callers
Function
WithConfigPath
WithConfigPath Set the path of the config file.
application/dependency/options.go:31
↓ 5 callers
Function
WithDownload
WithDownload set file URL as download
pkg/filemanager/manager/entitysource/entitysource.go:112
↓ 5 callers
Function
newDavAccountMutation
newDavAccountMutation creates new mutation for the DavAccount entity.
ent/mutation.go:92
↓ 5 callers
Function
newDirectLinkMutation
newDirectLinkMutation creates new mutation for the DirectLink entity.
ent/mutation.go:948
↓ 5 callers
Function
newEntityMutation
newEntityMutation creates new mutation for the Entity entity.
ent/mutation.go:1752
↓ 5 callers
Function
newFileMutation
newFileMutation creates new mutation for the File entity.
ent/mutation.go:3023
↓ 5 callers
Function
newFsEventMutation
newFsEventMutation creates new mutation for the FsEvent entity.
ent/mutation.go:4635
↓ 5 callers
Function
newGroupMutation
newGroupMutation creates new mutation for the Group entity.
ent/mutation.go:5350
↓ 5 callers
Function
newMetadataMutation
newMetadataMutation creates new mutation for the Metadata entity.
ent/mutation.go:6422
↓ 5 callers
Function
newNodeMutation
newNodeMutation creates new mutation for the Node entity.
ent/mutation.go:7158
↓ 5 callers
Function
newOAuthClientMutation
newOAuthClientMutation creates new mutation for the OAuthClient entity.
ent/mutation.go:8233
↓ 5 callers
Function
newOAuthGrantMutation
newOAuthGrantMutation creates new mutation for the OAuthGrant entity.
ent/mutation.go:9259
↓ 5 callers
Function
newPasskeyMutation
newPasskeyMutation creates new mutation for the Passkey entity.
ent/mutation.go:10068
↓ 5 callers
Function
newSettingMutation
newSettingMutation creates new mutation for the Setting entity.
ent/mutation.go:10866
↓ 5 callers
Function
newShareMutation
newShareMutation creates new mutation for the Share entity.
ent/mutation.go:11460
↓ 5 callers
Function
newStoragePolicyMutation
newStoragePolicyMutation creates new mutation for the StoragePolicy entity.
ent/mutation.go:12555
↓ 5 callers
Function
newTaskMutation
newTaskMutation creates new mutation for the Task entity.
ent/mutation.go:14175
↓ 5 callers
Function
newUserMutation
newUserMutation creates new mutation for the User entity.
ent/mutation.go:15110
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/node_query.go:343
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/fsevent_query.go:342
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/davaccount_query.go:342
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/metadata_query.go:342
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/directlink_query.go:342
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/passkey_query.go:342
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/oauthclient_query.go:343
↓ 5 callers
Method
prepareQuery
(ctx context.Context)
ent/task_query.go:342
↓ 5 callers
Method
processIndexDiff
(ctx context.Context, diff *fs.IndexDiff)
pkg/filemanager/manager/fulltextindex.go:482
↓ 5 callers
Method
space
Skip spaces if any
pkg/webdav/internal/xml/xml.go:867
↓ 5 callers
Method
sqlQuery
(ctx context.Context)
ent/entity_query.go:666
↓ 5 callers
Method
transitStatus
beforeTaskStart updates Task status from queued to processing
pkg/queue/queue.go:346
↓ 5 callers
Function
withStoragePolicyEagerLoading
(ctx context.Context, query *ent.StoragePolicyQuery)
inventory/policy.go:245
↓ 4 callers
Method
AccessKey
AccessKey returns the value of the "access_key" field in the mutation.
ent/mutation.go:12993
↓ 4 callers
Method
All
All executes the query and returns a list of FsEvents.
ent/fsevent_query.go:185
↓ 4 callers
Method
All
All executes the query and returns a list of DavAccounts.
ent/davaccount_query.go:185
↓ 4 callers
Method
All
All executes the query and returns a list of MetadataSlice.
ent/metadata_query.go:185
↓ 4 callers
Method
All
All executes the query and returns a list of DirectLinks.
ent/directlink_query.go:185
↓ 4 callers
Method
All
All executes the query and returns a list of Passkeys.
ent/passkey_query.go:185
↓ 4 callers
Method
All
All executes the query and returns a list of OAuthClients.
ent/oauthclient_query.go:186
↓ 4 callers
Method
All
All executes the query and returns a list of Tasks.
ent/task_query.go:185
← previous
next →
601–700 of 11,486, ranked by callers