MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 4 callersMethodAppendedScopes
AppendedScopes returns the list of values that were appended to the "scopes" field in this mutation.
ent/mutation.go:9582
↓ 4 callersMethodAuthnEnabled
AuthnEnabled returns true if Webauthn is enabled.
pkg/setting/provider.go:28
↓ 4 callersMethodAvatar
Avatar returns the avatar settings.
pkg/setting/provider.go:190
↓ 4 callersMethodBucketName
BucketName returns the value of the "bucket_name" field in the mutation.
ent/mutation.go:12895
↓ 4 callersFunctionBuildStoragePolicy
(sp *ent.StoragePolicy, hasher hashid.Encoder)
service/explorer/response.go:508
↓ 4 callersFunctionBuildUserRedacted
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 callersFunctionByID
ByID orders the results by the id field.
ent/share/share.go:118
↓ 4 callersFunctionByID
ByID orders the results by the id field.
ent/oauthclient/oauthclient.go:116
↓ 4 callersFunctionByID
ByID orders the results by the id field.
ent/entity/entity.go:123
↓ 4 callersFunctionByID
ByID orders the results by the id field.
ent/node/node.go:151
↓ 4 callersMethodCapacity
Capacity returns the storage capacity of the filesystem.
pkg/filemanager/fs/fs.go:55
↓ 4 callersMethodChildrenCleared
ChildrenCleared reports if the "children" edge to the File entity was cleared.
ent/mutation.go:3747
↓ 4 callersMethodClientCleared
ClientCleared reports if the "client" edge to the OAuthClient entity was cleared.
ent/mutation.go:9678
↓ 4 callersFunctionClientID
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
ent/oauthgrant/where.go:79
↓ 4 callersFunctionContentCORS
()
middleware/common.go:162
↓ 4 callersMethodCopyWithPrefix
Copy a new logger with a prefix.
pkg/logging/logger.go:21
↓ 4 callersMethodCreateUploadSession
(ctx context.Context, dst string, opts ...Option)
pkg/filemanager/driver/onedrive/client.go:33
↓ 4 callersFunctionCredentialKey
(policyId int)
pkg/filemanager/driver/onedrive/oauth.go:269
↓ 4 callersFunctionDBErr
DBErrDeprecated 数据库操作失败
pkg/serializer/error.go:287
↓ 4 callersMethodDavAccountClient
DavAccountClient Creates a new inventory.DavAccountClient instance for access DB dav account store.
application/dependency/dependency.go:90
↓ 4 callersMethodDavAccountsCleared
DavAccountsCleared reports if the "dav_accounts" edge to the DavAccount entity was cleared.
ent/mutation.go:15829
↓ 4 callersMethodDecode
Decode works like xml.Unmarshal, except it reads the decoder stream to find the start element.
pkg/webdav/internal/xml/read.go:120
↓ 4 callersMethodDirNameRule
DirNameRule returns the value of the "dir_name_rule" field in the mutation.
ent/mutation.go:13161
↓ 4 callersMethodDirUri
()
pkg/filemanager/fs/uri.go:177
↓ 4 callersMethodDirectLinksCleared
DirectLinksCleared reports if the "direct_links" edge to the DirectLink entity was cleared.
ent/mutation.go:3963
↓ 4 callersMethodEmailClient
EmailClient Get a singleton email.Driver instance for sending emails.
application/dependency/dependency.go:80
↓ 4 callersMethodEncode
(hasher hashid.Encoder, encodeFunc hashid.EncodeFunc)
inventory/common.go:76
↓ 4 callersFunctionEncodeShareID
EncodeEntityID encode share id to hash id
pkg/hashid/hash.go:133
↓ 4 callersFunctionEncodeSourceLinkID
EncodeSourceLinkID encode source link id to hash id
pkg/hashid/hash.go:145
↓ 4 callersMethodExpires
Expires returns the value of the "expires" field in the mutation.
ent/mutation.go:11840
↓ 4 callersMethodExpiry
()
pkg/credmanager/credmanager.go:36
↓ 4 callersFunctionExt
Ext returns the file name extension used by path, without the dot.
pkg/util/path.go:102
↓ 4 callersMethodExts
Exts returns the supported file extensions.
pkg/mediameta/extractor.go:20
↓ 4 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:2787
↓ 4 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:8049
↓ 4 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:14920
↓ 4 callersMethodFileNameRule
FileNameRule returns the value of the "file_name_rule" field in the mutation.
ent/mutation.go:13210
↓ 4 callersMethodFseventsCleared
FseventsCleared reports if the "fsevents" edge to the FsEvent entity was cleared.
ent/mutation.go:16045
↓ 4 callersMethodGenerate
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 callersMethodGet
Get 取值
pkg/cache/redis.go:110
↓ 4 callersMethodGetActiveByID
GetActiveByID get user by its ID, only active user will be returned.
inventory/user.go:57
↓ 4 callersMethodGetByEmail
GetByEmail get the user with given email, user status is ignored.
inventory/user.go:53
↓ 4 callersMethodGetTask
GetTask returns the task summary of the task with the given id.
pkg/cluster/node.go:39
↓ 4 callersMethodGets
Gets 批量取值
pkg/cache/redis.go:132
↓ 4 callersMethodGets
Gets 批量取值
pkg/cache/memo.go:98
↓ 4 callersMethodGrantsCleared
GrantsCleared reports if the "grants" edge to the OAuthGrant entity was cleared.
ent/mutation.go:8793
↓ 4 callersMethodGroupCleared
GroupCleared reports if the "group" edge to the Group entity was cleared.
ent/mutation.go:15731
↓ 4 callersMethodGroupsCleared
GroupsCleared reports if the "groups" edge to the Group entity was cleared.
ent/mutation.go:13367
↓ 4 callersFunctionID
ID filters vertices based on their ID field.
ent/share/where.go:14
↓ 4 callersFunctionID
ID filters vertices based on their ID field.
ent/storagepolicy/where.go:14
↓ 4 callersFunctionIDIn
IDIn applies the In predicate on the ID field.
ent/share/where.go:29
↓ 4 callersMethodIncFailureTask
()
pkg/queue/metric.go:14
↓ 4 callersMethodInitOSSClient
InitOSSClient 初始化OSS鉴权客户端
pkg/filemanager/driver/oss/oss.go:129
↓ 4 callersMethodLastToken
()
pkg/filemanager/fs/fs.go:351
↓ 4 callersMethodLastUsedAt
LastUsedAt returns the value of the "last_used_at" field in the mutation.
ent/mutation.go:9601
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/setting_query.go:36
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/node_query.go:39
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/storagepolicy_query.go:45
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/group_query.go:41
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/fsevent_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/davaccount_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/metadata_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/oauthgrant_query.go:40
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/directlink_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/passkey_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/share_query.go:41
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/oauthclient_query.go:39
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/task_query.go:38
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/entity_query.go:43
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/file_query.go:51
↓ 4 callersMethodLimit
Limit the number of records to be returned by this query.
ent/user_query.go:55
↓ 4 callersMethodLocalPath
LocalPath returns the local path of a file. Only implemented if HandlerCapabilityInboundGet capability is set.
pkg/filemanager/driver/handler.go:58
↓ 4 callersMethodMasterEncryptKeyVault
MasterEncryptKeyVault returns the master encrypt key vault type.
pkg/setting/provider.go:214
↓ 4 callersFunctionMasterStatelessUrl
(base, method string)
pkg/cluster/routes/routes.go:128
↓ 4 callersMethodMaxSize
MaxSize returns the value of the "max_size" field in the mutation.
ent/mutation.go:13092
↓ 4 callersMethodMaxStorage
MaxStorage returns the value of the "max_storage" field in the mutation.
ent/mutation.go:5606
↓ 4 callersMethodMetadataCleared
MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared.
ent/mutation.go:3801
↓ 4 callersFunctionName
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
ent/file/where.go:74
↓ 4 callersFunctionNewClient
NewClient 根据存储策略获取新的client
pkg/filemanager/driver/onedrive/client.go:67
↓ 4 callersFunctionNewTaskFromModel
NewTaskFromModel creates a Task from ent.Task model
pkg/queue/task.go:129
↓ 4 callersMethodOauthGrantsCleared
OauthGrantsCleared reports if the "oauth_grants" edge to the OAuthGrant entity was cleared.
ent/mutation.go:16153
↓ 4 callersMethodObtain
Obtain gets a credential from the manager, refresh it if it's expired
pkg/credmanager/credmanager.go:26
↓ 4 callersFunctionParamErr
ParamErr 各种参数错误
pkg/serializer/error.go:303
↓ 4 callersMethodPasskeyCleared
PasskeyCleared reports if the "passkey" edge to the Passkey entity was cleared.
ent/mutation.go:15937
↓ 4 callersMethodPasswordCleared
PasswordCleared returns if the "password" field was cleared in this mutation.
ent/mutation.go:15433
↓ 4 callersMethodPrivateState
PrivateState returns the value of the "private_state" field in the mutation.
ent/mutation.go:14502
↓ 4 callersFunctionProbeMetaTransform
(meta *FFProbeMeta)
pkg/mediameta/ffprobe.go:138
↓ 4 callersMethodRaw
Raw returns the raw error map
pkg/serializer/error.go:419
↓ 4 callersMethodRemainDownloads
RemainDownloads returns the value of the "remain_downloads" field in the mutation.
ent/mutation.go:11890
↓ 4 callersFunctionRemoveSlash
RemoveSlash 移除路径最后的`/`
pkg/util/path.go:31
↓ 4 callersMethodRemovedFilesIDs
RemovedFiles returns the removed IDs of the "files" edge to the File entity.
ent/mutation.go:15791
↓ 4 callersMethodRemovedSharesIDs
RemovedShares returns the removed IDs of the "shares" edge to the Share entity.
ent/mutation.go:3925
↓ 4 callersMethodRename
Rename renames a file.
pkg/filemanager/fs/fs.go:79
↓ 4 callersMethodSaveSettings
SaveSettings saves user settings.
inventory/user.go:67
↓ 4 callersMethodSearchParameters
SearchParameters returns the search parameters from the URI. If no search parameters are present, nil is returned.
pkg/filemanager/fs/uri.go:219
↓ 4 callersMethodSeek
(offset int64, whence int)
pkg/filemanager/manager/entitysource/entitysource.go:538
↓ 4 callersMethodSeekable
()
pkg/filemanager/fs/fs.go:671
↓ 4 callersMethodServerCleared
ServerCleared returns if the "server" field was cleared in this mutation.
ent/mutation.go:7517
↓ 4 callersMethodSetBucketName
SetBucketName sets the "bucket_name" field.
ent/mutation.go:12890
↓ 4 callersMethodSetFile
SetFile manually set the edge as loaded state.
ent/share.go:287
← previousnext →701–800 of 11,486, ranked by callers