MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 2 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:9087
↓ 2 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:9901
↓ 2 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:10718
↓ 2 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:11336
↓ 2 callersFunctionFileChildrenNotNil
FileChildrenNotNil applies the NotNil predicate on the "file_children" field.
ent/file/where.go:429
↓ 2 callersFunctionFileID
FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.
ent/directlink/where.go:84
↓ 2 callersMethodFileNameRuleCleared
FileNameRuleCleared returns if the "file_name_rule" field was cleared in this mutation.
ent/mutation.go:13242
↓ 2 callersMethodFileOrErr
FileOrErr returns the File value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/share.go:76
↓ 2 callersFunctionFileTypeFromString
(s string)
inventory/types/types.go:285
↓ 2 callersMethodFirstID
FirstID returns the first Setting ID from the query. Returns a *NotFoundError when no Setting ID was found.
ent/setting_query.go:84
↓ 2 callersMethodFirstID
FirstID returns the first Node ID from the query. Returns a *NotFoundError when no Node ID was found.
ent/node_query.go:109
↓ 2 callersMethodFirstID
FirstID returns the first StoragePolicy ID from the query. Returns a *NotFoundError when no StoragePolicy ID was found.
ent/storagepolicy_query.go:181
↓ 2 callersMethodFirstID
FirstID returns the first Group ID from the query. Returns a *NotFoundError when no Group ID was found.
ent/group_query.go:133
↓ 2 callersMethodFirstID
FirstID returns the first FsEvent ID from the query. Returns a *NotFoundError when no FsEvent ID was found.
ent/fsevent_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first DavAccount ID from the query. Returns a *NotFoundError when no DavAccount ID was found.
ent/davaccount_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first Metadata ID from the query. Returns a *NotFoundError when no Metadata ID was found.
ent/metadata_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first OAuthGrant ID from the query. Returns a *NotFoundError when no OAuthGrant ID was found.
ent/oauthgrant_query.go:132
↓ 2 callersMethodFirstID
FirstID returns the first DirectLink ID from the query. Returns a *NotFoundError when no DirectLink ID was found.
ent/directlink_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first Passkey ID from the query. Returns a *NotFoundError when no Passkey ID was found.
ent/passkey_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first Share ID from the query. Returns a *NotFoundError when no Share ID was found.
ent/share_query.go:133
↓ 2 callersMethodFirstID
FirstID returns the first OAuthClient ID from the query. Returns a *NotFoundError when no OAuthClient ID was found.
ent/oauthclient_query.go:109
↓ 2 callersMethodFirstID
FirstID returns the first Task ID from the query. Returns a *NotFoundError when no Task ID was found.
ent/task_query.go:108
↓ 2 callersMethodFirstID
FirstID returns the first Entity ID from the query. Returns a *NotFoundError when no Entity ID was found.
ent/entity_query.go:157
↓ 2 callersMethodFirstID
FirstID returns the first File ID from the query. Returns a *NotFoundError when no File ID was found.
ent/file_query.go:275
↓ 2 callersMethodFirstID
FirstID returns the first User ID from the query. Returns a *NotFoundError when no User ID was found.
ent/user_query.go:301
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
ent/ent.go:428
↓ 2 callersMethodFollowTx
FollowTx let the navigator inherit the transaction. Return a function to reset back to previous DB client.
pkg/filemanager/fs/dbfs/navigator.go:53
↓ 2 callersMethodForgotPasswordCaptchaEnabled
ForgotPasswordCaptchaEnabled returns true if forgot password captcha is enabled.
pkg/setting/provider.go:34
↓ 2 callersMethodFormatFirstN
(n int)
pkg/serializer/error.go:451
↓ 2 callersFunctionFromString
FromString convert from base64 encoded boolset.
pkg/boolset/boolset.go:17
↓ 2 callersMethodGet
(c *gin.Context)
service/admin/node.go:61
↓ 2 callersMethodGet
(c *gin.Context)
service/admin/oauth_client.go:92
↓ 2 callersMethodGet
(c *gin.Context)
service/admin/group.go:125
↓ 2 callersMethodGet
Get gets a setting value from DB, returns error if setting cannot be found.
inventory/setting.go:23
↓ 2 callersMethodGetByIDAndUserID
GetByIDAndUserID returns the dav account with given id and user id.
inventory/dav_account.go:25
↓ 2 callersMethodGetByIDs
GetByIDs returns files with given IDs. The result is paginated. Caller should keep calling this until returned next page is negative.
inventory/file.go:166
↓ 2 callersMethodGetEntity
GetEntitiesFromFileID returns all entities of a given file.
pkg/filemanager/fs/fs.go:85
↓ 2 callersMethodGetEntityByID
GetEntityByID returns an entity by its ID.
inventory/file.go:173
↓ 2 callersMethodGetEntityUrls
GetEntityUrls gets download urls of given entities, return URLs and the earliest expiry time
pkg/filemanager/manager/entity.go:25
↓ 2 callersMethodGetRSCloser
GetRSCloser 返回带有空seeker的RSCloser,供http.ServeContent使用
pkg/request/request.go:299
↓ 2 callersFunctionGetScopesFromContext
(ctx context.Context)
pkg/auth/jwt.go:314
↓ 2 callersMethodGetStorageDriver
GetStorageDriver gets storage driver for given policy
pkg/filemanager/manager/manager.go:79
↓ 2 callersMethodGetTaskByID
GetTaskByID returns the task with the given ID.
inventory/task.go:41
↓ 2 callersMethodGroupOrErr
GroupOrErr returns the Group value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/user.go:80
↓ 2 callersMethodGroupUsers
GroupUsers returns the value of the "group_users" field in the mutation.
ent/mutation.go:15689
↓ 2 callersFunctionHasFileWith
HasFileWith applies the HasEdge predicate on the "file" edge with a given conditions (other predicates).
ent/share/where.go:528
↓ 2 callersFunctionHasMetadataWith
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
ent/file/where.go:587
↓ 2 callersFunctionHasOp
HasOp is a condition testing mutation operation.
ent/hook/hook.go:245
↓ 2 callersFunctionHasParent
HasParent applies the HasEdge predicate on the "parent" edge.
ent/file/where.go:530
↓ 2 callersFunctionHasParentWith
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
ent/file/where.go:541
↓ 2 callersMethodHomepageURLCleared
HomepageURLCleared returns if the "homepage_url" field was cleared in this mutation.
ent/mutation.go:8592
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/oauthgrant/where.go:14
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/metadata/where.go:14
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/setting/where.go:13
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/passkey/where.go:14
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/fsevent/where.go:15
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/node/where.go:15
↓ 2 callersMethodID
(defaultUid string)
pkg/filemanager/fs/uri.go:132
↓ 2 callersMethodID
()
pkg/cluster/node.go:33
↓ 2 callersFunctionIf
If executes the given hook under condition. hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))
ent/hook/hook.go:299
↓ 2 callersMethodIncSubmittedTask
()
pkg/queue/metric.go:15
↓ 2 callersMethodIncSuspendingTask
()
pkg/queue/metric.go:73
↓ 2 callersMethodIndexFile
(ctx context.Context, ownerID, fileID, entityID int, fileName, text string)
pkg/searcher/indexer.go:32
↓ 2 callersMethodInfo
(ctx context.Context, handle *downloader.TaskHandle)
pkg/downloader/aria2/aria2.go:90
↓ 2 callersMethodInfo
Info 信息
pkg/util/logger.go:96
↓ 2 callersMethodInit
Init 初始化发送队列
pkg/email/smtp.go:113
↓ 2 callersMethodIntercept
Intercept adds the query interceptors to all the entity clients. In order to add interceptors to a specific client, call: `client.Node.Intercept(...)`
ent/client.go:284
↓ 2 callersMethodInts
Ints returns list of ints from a selector. It is only allowed when selecting one field.
ent/ent.go:381
↓ 2 callersFunctionIsEmpty
IsEmpty 返回给定目录是否为空目录
pkg/util/io.go:46
↓ 2 callersMethodIsPrivateCleared
IsPrivateCleared returns if the "is_private" field was cleared in this mutation.
ent/mutation.go:12976
↓ 2 callersFunctionIsPublic
IsPublic applies equality check predicate on the "is_public" field. It's identical to IsPublicEQ.
ent/metadata/where.go:89
↓ 2 callersMethodIsRootFile
IsRootFile return true if the file is the root file under user's view.
pkg/filemanager/fs/dbfs/file.go:294
↓ 2 callersFunctionIsShareExpired
(share *ent.Share)
inventory/share.go:250
↓ 2 callersFunctionIsSymbolic
IsSymbolic applies equality check predicate on the "is_symbolic" field. It's identical to IsSymbolicEQ.
ent/file/where.go:99
↓ 2 callersMethodIssue
Issue issues a new pair of credentials for the given user.
pkg/auth/jwt.go:27
↓ 2 callersMethodLastUsedAtCleared
LastUsedAtCleared returns if the "last_used_at" field was cleared in this mutation.
ent/mutation.go:9633
↓ 2 callersMethodLibRawThumbExts
LibRawThumbExts returns the supported extensions of libraw thumb generator.
pkg/setting/provider.go:200
↓ 2 callersMethodLibRawThumbGeneratorEnabled
LibRawThumbGeneratorEnabled returns true if libraw thumb generator is enabled.
pkg/setting/provider.go:196
↓ 2 callersMethodLibreOfficeThumbExts
LibreOfficeThumbExts returns the supported extensions of libreoffice thumb generator.
pkg/setting/provider.go:146
↓ 2 callersMethodLibreOfficeThumbGeneratorEnabled
LibreOfficeThumbGeneratorEnabled returns true if libreoffice thumb generator is enabled.
pkg/setting/provider.go:144
↓ 2 callersMethodList
List lists files from remote server
pkg/filemanager/driver/remote/client.go:50
↓ 2 callersMethodList
List lists files under give path.
pkg/filemanager/fs/fs.go:77
↓ 2 callersMethodList
List lists files under given path
pkg/filemanager/manager/manager.go:39
↓ 2 callersMethodListActiveNodes
ListActiveNodes returns the active nodes.
inventory/node.go:15
↓ 2 callersMethodLoadMetadata
LoadMetadata loads and decrypts the encryption metadata using the master key
pkg/filemanager/encrypt/encrypt.go:19
↓ 2 callersMethodLocalDriver
LocalDriver gets local driver for operating local files.
pkg/filemanager/manager/manager.go:73
↓ 2 callersMethodLocalPath
(ctx context.Context, path string)
pkg/filemanager/driver/local/local.go:121
↓ 2 callersFunctionLockSessionFromCtx
LockSessionFromCtx retrieves lock session from context. If no lock session found, a new empty lock session will be returned.
pkg/filemanager/fs/dbfs/lock.go:267
↓ 2 callersMethodLockSystem
LockSystem Get a singleton lock.LockSystem instance for file lock management.
application/dependency/dependency.go:100
↓ 2 callersMethodLoginCaptchaEnabled
LoginCaptchaEnabled returns true if login captcha is enabled.
pkg/setting/provider.go:32
↓ 2 callersMethodMarshalXMLAttr
(name Name)
pkg/webdav/internal/xml/marshal.go:110
↓ 2 callersMethodMasterEncryptKeyFile
MasterEncryptKeyFile returns the master encrypt key file.
pkg/setting/provider.go:216
↓ 2 callersFunctionMasterPolicyOAuthCallback
(base *url.URL)
pkg/cluster/routes/routes.go:103
↓ 2 callersFunctionMasterShareLongUrl
MasterShareLongUrl generates a long share URL for redirect.
pkg/cluster/routes/routes.go:85
↓ 2 callersMethodMaxBatchedFile
MaxBatchedFile returns the maximum number of files in a batch operation.
pkg/setting/provider.go:66
↓ 2 callersMethodMaxSizeCleared
MaxSizeCleared returns if the "max_size" field was cleared in this mutation.
ent/mutation.go:13143
↓ 2 callersMethodMaxStorageCleared
MaxStorageCleared returns if the "max_storage" field was cleared in this mutation.
ent/mutation.go:5657
↓ 2 callersMethodMediaMeta
MediaMeta extracts media metadata from the given file.
pkg/filemanager/driver/handler.go:86
↓ 2 callersMethodMerge
(diff StorageDiff)
inventory/common.go:121
↓ 2 callersMethodMeta
(ctx context.Context, id string, path string)
pkg/filemanager/driver/onedrive/client.go:32
← previousnext →1,301–1,400 of 11,486, ranked by callers