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
↓ 4 callers
Method
AppendedScopes
AppendedScopes returns the list of values that were appended to the "scopes" field in this mutation.
ent/mutation.go:9582
↓ 4 callers
Method
AuthnEnabled
AuthnEnabled returns true if Webauthn is enabled.
pkg/setting/provider.go:28
↓ 4 callers
Method
Avatar
Avatar returns the avatar settings.
pkg/setting/provider.go:190
↓ 4 callers
Method
BucketName
BucketName returns the value of the "bucket_name" field in the mutation.
ent/mutation.go:12895
↓ 4 callers
Function
BuildStoragePolicy
(sp *ent.StoragePolicy, hasher hashid.Encoder)
service/explorer/response.go:508
↓ 4 callers
Function
BuildUserRedacted
BuildUserRedacted Serialize a user without sensitive information. The email is only exposed when the requester is a signed-in user (level >= RedactLev
service/user/response.go:229
↓ 4 callers
Function
ByID
ByID orders the results by the id field.
ent/share/share.go:118
↓ 4 callers
Function
ByID
ByID orders the results by the id field.
ent/oauthclient/oauthclient.go:116
↓ 4 callers
Function
ByID
ByID orders the results by the id field.
ent/entity/entity.go:123
↓ 4 callers
Function
ByID
ByID orders the results by the id field.
ent/node/node.go:151
↓ 4 callers
Method
Capacity
Capacity returns the storage capacity of the filesystem.
pkg/filemanager/fs/fs.go:55
↓ 4 callers
Method
ChildrenCleared
ChildrenCleared reports if the "children" edge to the File entity was cleared.
ent/mutation.go:3747
↓ 4 callers
Method
ClientCleared
ClientCleared reports if the "client" edge to the OAuthClient entity was cleared.
ent/mutation.go:9678
↓ 4 callers
Function
ClientID
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
ent/oauthgrant/where.go:79
↓ 4 callers
Function
ContentCORS
()
middleware/common.go:162
↓ 4 callers
Method
CopyWithPrefix
Copy a new logger with a prefix.
pkg/logging/logger.go:21
↓ 4 callers
Method
CreateUploadSession
(ctx context.Context, dst string, opts ...Option)
pkg/filemanager/driver/onedrive/client.go:33
↓ 4 callers
Function
CredentialKey
(policyId int)
pkg/filemanager/driver/onedrive/oauth.go:269
↓ 4 callers
Function
DBErr
DBErrDeprecated 数据库操作失败
pkg/serializer/error.go:287
↓ 4 callers
Method
DavAccountClient
DavAccountClient Creates a new inventory.DavAccountClient instance for access DB dav account store.
application/dependency/dependency.go:90
↓ 4 callers
Method
DavAccountsCleared
DavAccountsCleared reports if the "dav_accounts" edge to the DavAccount entity was cleared.
ent/mutation.go:15829
↓ 4 callers
Method
Decode
Decode works like xml.Unmarshal, except it reads the decoder stream to find the start element.
pkg/webdav/internal/xml/read.go:120
↓ 4 callers
Method
DirNameRule
DirNameRule returns the value of the "dir_name_rule" field in the mutation.
ent/mutation.go:13161
↓ 4 callers
Method
DirUri
()
pkg/filemanager/fs/uri.go:177
↓ 4 callers
Method
DirectLinksCleared
DirectLinksCleared reports if the "direct_links" edge to the DirectLink entity was cleared.
ent/mutation.go:3963
↓ 4 callers
Method
EmailClient
EmailClient Get a singleton email.Driver instance for sending emails.
application/dependency/dependency.go:80
↓ 4 callers
Method
Encode
(hasher hashid.Encoder, encodeFunc hashid.EncodeFunc)
inventory/common.go:76
↓ 4 callers
Function
EncodeShareID
EncodeEntityID encode share id to hash id
pkg/hashid/hash.go:133
↓ 4 callers
Function
EncodeSourceLinkID
EncodeSourceLinkID encode source link id to hash id
pkg/hashid/hash.go:145
↓ 4 callers
Method
Expires
Expires returns the value of the "expires" field in the mutation.
ent/mutation.go:11840
↓ 4 callers
Method
Expiry
()
pkg/credmanager/credmanager.go:36
↓ 4 callers
Function
Ext
Ext returns the file name extension used by path, without the dot.
pkg/util/path.go:102
↓ 4 callers
Method
Exts
Exts returns the supported file extensions.
pkg/mediameta/extractor.go:20
↓ 4 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:2787
↓ 4 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:8049
↓ 4 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:14920
↓ 4 callers
Method
FileNameRule
FileNameRule returns the value of the "file_name_rule" field in the mutation.
ent/mutation.go:13210
↓ 4 callers
Method
FseventsCleared
FseventsCleared reports if the "fsevents" edge to the FsEvent entity was cleared.
ent/mutation.go:16045
↓ 4 callers
Method
Generate
Generate generates a thumbnail for a given reader. Src is the original file path, only provided for local policy files. State is the result from previ
pkg/thumb/pipeline.go:24
↓ 4 callers
Method
Get
Get 取值
pkg/cache/redis.go:110
↓ 4 callers
Method
GetActiveByID
GetActiveByID get user by its ID, only active user will be returned.
inventory/user.go:57
↓ 4 callers
Method
GetByEmail
GetByEmail get the user with given email, user status is ignored.
inventory/user.go:53
↓ 4 callers
Method
GetTask
GetTask returns the task summary of the task with the given id.
pkg/cluster/node.go:39
↓ 4 callers
Method
Gets
Gets 批量取值
pkg/cache/redis.go:132
↓ 4 callers
Method
Gets
Gets 批量取值
pkg/cache/memo.go:98
↓ 4 callers
Method
GrantsCleared
GrantsCleared reports if the "grants" edge to the OAuthGrant entity was cleared.
ent/mutation.go:8793
↓ 4 callers
Method
GroupCleared
GroupCleared reports if the "group" edge to the Group entity was cleared.
ent/mutation.go:15731
↓ 4 callers
Method
GroupsCleared
GroupsCleared reports if the "groups" edge to the Group entity was cleared.
ent/mutation.go:13367
↓ 4 callers
Function
ID
ID filters vertices based on their ID field.
ent/share/where.go:14
↓ 4 callers
Function
ID
ID filters vertices based on their ID field.
ent/storagepolicy/where.go:14
↓ 4 callers
Function
IDIn
IDIn applies the In predicate on the ID field.
ent/share/where.go:29
↓ 4 callers
Method
IncFailureTask
()
pkg/queue/metric.go:14
↓ 4 callers
Method
InitOSSClient
InitOSSClient 初始化OSS鉴权客户端
pkg/filemanager/driver/oss/oss.go:129
↓ 4 callers
Method
LastToken
()
pkg/filemanager/fs/fs.go:351
↓ 4 callers
Method
LastUsedAt
LastUsedAt returns the value of the "last_used_at" field in the mutation.
ent/mutation.go:9601
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/setting_query.go:36
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/node_query.go:39
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/storagepolicy_query.go:45
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/group_query.go:41
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/fsevent_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/davaccount_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/metadata_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/oauthgrant_query.go:40
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/directlink_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/passkey_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/share_query.go:41
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/oauthclient_query.go:39
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/task_query.go:38
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/entity_query.go:43
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/file_query.go:51
↓ 4 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/user_query.go:55
↓ 4 callers
Method
LocalPath
LocalPath returns the local path of a file. Only implemented if HandlerCapabilityInboundGet capability is set.
pkg/filemanager/driver/handler.go:58
↓ 4 callers
Method
MasterEncryptKeyVault
MasterEncryptKeyVault returns the master encrypt key vault type.
pkg/setting/provider.go:214
↓ 4 callers
Function
MasterStatelessUrl
(base, method string)
pkg/cluster/routes/routes.go:128
↓ 4 callers
Method
MaxSize
MaxSize returns the value of the "max_size" field in the mutation.
ent/mutation.go:13092
↓ 4 callers
Method
MaxStorage
MaxStorage returns the value of the "max_storage" field in the mutation.
ent/mutation.go:5606
↓ 4 callers
Method
MetadataCleared
MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared.
ent/mutation.go:3801
↓ 4 callers
Function
Name
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/file/where.go:74
↓ 4 callers
Function
NewClient
NewClient 根据存储策略获取新的client
pkg/filemanager/driver/onedrive/client.go:67
↓ 4 callers
Function
NewTaskFromModel
NewTaskFromModel creates a Task from ent.Task model
pkg/queue/task.go:129
↓ 4 callers
Method
OauthGrantsCleared
OauthGrantsCleared reports if the "oauth_grants" edge to the OAuthGrant entity was cleared.
ent/mutation.go:16153
↓ 4 callers
Method
Obtain
Obtain gets a credential from the manager, refresh it if it's expired
pkg/credmanager/credmanager.go:26
↓ 4 callers
Function
ParamErr
ParamErr 各种参数错误
pkg/serializer/error.go:303
↓ 4 callers
Method
PasskeyCleared
PasskeyCleared reports if the "passkey" edge to the Passkey entity was cleared.
ent/mutation.go:15937
↓ 4 callers
Method
PasswordCleared
PasswordCleared returns if the "password" field was cleared in this mutation.
ent/mutation.go:15433
↓ 4 callers
Method
PrivateState
PrivateState returns the value of the "private_state" field in the mutation.
ent/mutation.go:14502
↓ 4 callers
Function
ProbeMetaTransform
(meta *FFProbeMeta)
pkg/mediameta/ffprobe.go:138
↓ 4 callers
Method
Raw
Raw returns the raw error map
pkg/serializer/error.go:419
↓ 4 callers
Method
RemainDownloads
RemainDownloads returns the value of the "remain_downloads" field in the mutation.
ent/mutation.go:11890
↓ 4 callers
Function
RemoveSlash
RemoveSlash 移除路径最后的`/`
pkg/util/path.go:31
↓ 4 callers
Method
RemovedFilesIDs
RemovedFiles returns the removed IDs of the "files" edge to the File entity.
ent/mutation.go:15791
↓ 4 callers
Method
RemovedSharesIDs
RemovedShares returns the removed IDs of the "shares" edge to the Share entity.
ent/mutation.go:3925
↓ 4 callers
Method
Rename
Rename renames a file.
pkg/filemanager/fs/fs.go:79
↓ 4 callers
Method
SaveSettings
SaveSettings saves user settings.
inventory/user.go:67
↓ 4 callers
Method
SearchParameters
SearchParameters returns the search parameters from the URI. If no search parameters are present, nil is returned.
pkg/filemanager/fs/uri.go:219
↓ 4 callers
Method
Seek
(offset int64, whence int)
pkg/filemanager/manager/entitysource/entitysource.go:538
↓ 4 callers
Method
Seekable
()
pkg/filemanager/fs/fs.go:671
↓ 4 callers
Method
ServerCleared
ServerCleared returns if the "server" field was cleared in this mutation.
ent/mutation.go:7517
↓ 4 callers
Method
SetBucketName
SetBucketName sets the "bucket_name" field.
ent/mutation.go:12890
↓ 4 callers
Method
SetFile
SetFile manually set the edge as loaded state.
ent/share.go:287
← previous
next →
701–800 of 11,486, ranked by callers