MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 16 callersMethodTraverse
Traverse calls f(ctx, q).
ent/intercept/intercept.go:78
↓ 16 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the PasskeyCreate.OnConflict documentation for more info.
ent/passkey_create.go:454
↓ 16 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the PasskeyCreateBulk.OnConflict documentation for more info.
ent/passkey_create.go:782
↓ 16 callersMethodUserCleared
UserCleared reports if the "user" edge to the User entity was cleared.
ent/mutation.go:14655
↓ 16 callersMethodmutate
(ctx context.Context, m *FileMutation)
ent/client.go:1066
↓ 16 callersFunctionquerierAll
()
ent/ent.go:564
↓ 16 callersMethodscanValues
scanValues returns the types for scanning values from sql.Rows.
ent/file.go:160
↓ 15 callersMethodExt
()
pkg/filemanager/fs/fs.go:148
↓ 15 callersMethodIDs
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction w
ent/mutation.go:3100
↓ 15 callersMethodInterceptors
Interceptors of the CommonMixin.
ent/schema/common.go:36
↓ 15 callersMethodIsNil
()
pkg/filemanager/fs/fs.go:144
↓ 15 callersFunctionLockSessionToContext
LockSessionToContext stores lock session to context.
pkg/filemanager/fs/fs.go:705
↓ 15 callersMethodMixin
()
ent/schema/node.go:42
↓ 15 callersFunctionSanitizeString
SanitizeString removes unwanted character from an exif value string.
pkg/mediameta/exif.go:580
↓ 15 callersMethodSetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/mutation.go:3152
↓ 15 callersMethodShutdown
Shutdown the dependencies gracefully.
application/dependency/dependency.go:84
↓ 15 callersFunctionSkipSoftDelete
SkipSoftDelete returns a new context that skips the soft-delete interceptor/mutators.
ent/schema/common.go:31
↓ 15 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the DirectLinkCreate.OnConflict documentation for more info.
ent/directlink_create.go:429
↓ 15 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the DirectLinkCreateBulk.OnConflict documentation for more info.
ent/directlink_create.go:750
↓ 15 callersFunctionUseFirstSiteUrl
(ctx context.Context)
pkg/setting/provider.go:980
↓ 15 callersFunctionWithNotRoot
WithNotRoot force the get result cannot be a root folder
pkg/filemanager/fs/dbfs/options.go:70
↓ 15 callersFunctioncapPageSize
(maxSQlParam, preferredSize, margin int)
inventory/common.go:109
↓ 14 callersMethodDelete
Delete deletes a group of files (and related models) with given entity recycle option
inventory/file.go:198
↓ 14 callersMethodFileCleared
FileCleared reports if the "file" edge to the File entity was cleared.
ent/mutation.go:12052
↓ 14 callersMethodList
List returns a list of tasks with the given args.
inventory/task.go:45
↓ 14 callersFunctionNewAggregateError
NewAggregateError creates a new AggregateError
pkg/serializer/error.go:390
↓ 14 callersFunctionNewUserClient
NewUserClient returns a client for the User from the given config.
ent/client.go:2828
↓ 14 callersMethodPolicyID
()
pkg/filemanager/fs/fs.go:166
↓ 14 callersMethodPrimaryEntity
()
pkg/filemanager/fs/fs.go:161
↓ 14 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the OAuthGrantCreate.OnConflict documentation for more info.
ent/oauthgrant_create.go:454
↓ 14 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the OAuthGrantCreateBulk.OnConflict documentation for more info.
ent/oauthgrant_create.go:768
↓ 14 callersMethodgetInt64
(ctx context.Context, name string, defaultVal int64)
pkg/setting/provider.go:909
↓ 13 callersMethodCapabilities
()
pkg/filemanager/fs/fs.go:169
↓ 13 callersMethodCommit
(context.Context, *Tx)
ent/tx.go:61
↓ 13 callersMethodGetResponse
GetResponse 检查响应并获取响应正文
pkg/request/request.go:226
↓ 13 callersMethodMetadata
()
pkg/filemanager/fs/fs.go:153
↓ 13 callersFunctionNewClient
(config conf.ConfigProvider, opts ...Option)
pkg/request/request.go:61
↓ 13 callersFunctionNewFileClient
NewFileClient returns a client for the File from the given config.
ent/client.go:825
↓ 13 callersFunctionRegisterResumableTaskFactory
RegisterResumableTaskFactory registers a resumable Task factory
pkg/queue/task.go:124
↓ 13 callersFunctionRelativePath
RelativePath 获取相对可执行文件的路径
pkg/util/path.go:59
↓ 13 callersMethodSetProps
SetProps sets the "props" field.
ent/mutation.go:3527
↓ 13 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the MetadataCreate.OnConflict documentation for more info.
ent/metadata_create.go:429
↓ 13 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the MetadataCreateBulk.OnConflict documentation for more info.
ent/metadata_create.go:736
↓ 13 callersMethodWhere
Where adds a new predicate for the FileQuery builder.
ent/file_query.go:45
↓ 13 callersFunctionWithEntity
WithEntity sets entity for manager.
pkg/filemanager/fs/fs.go:526
↓ 13 callersFunctionWithFileEntities
WithFileEntities enables loading file entities.
pkg/filemanager/fs/dbfs/options.go:84
↓ 13 callersMethodprepareQuery
(ctx context.Context)
ent/file_query.go:593
↓ 13 callersMethodprepareQuery
(ctx context.Context)
ent/user_query.go:631
↓ 13 callersMethodungetc
Unread a single byte.
pkg/webdav/internal/xml/xml.go:940
↓ 13 callersMethodupdateStep
updateStep updates current step and persists state
application/migrator/migrator.go:175
↓ 12 callersMethodAll
All executes the query and returns a list of Users.
ent/user_query.go:378
↓ 12 callersFunctionAnd
And groups predicates with the AND operator between them.
ent/file/where.go:668
↓ 12 callersMethodDBClient
()
application/dependency/dependency.go:329
↓ 12 callersMethodDir
()
pkg/filemanager/fs/uri.go:119
↓ 12 callersFunctionEncodeFileID
EncodeFileID encode file id to hash id
pkg/hashid/hash.go:97
↓ 12 callersMethodEntities
()
pkg/filemanager/fs/fs.go:160
↓ 12 callersMethodEntitiesCleared
EntitiesCleared reports if the "entities" edge to the Entity entity was cleared.
ent/mutation.go:3855
↓ 12 callersMethodFileIDs
FileIDs returns the "file" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use FileID instead. I
ent/mutation.go:12067
↓ 12 callersMethodGet
Get a string setting from underlying store, if setting not found, default value will be used.
pkg/setting/adapters.go:25
↓ 12 callersMethodGetEntitySource
GetEntitySource gets source of given entity
pkg/filemanager/manager/entity.go:31
↓ 12 callersMethodIsSymbolic
()
pkg/filemanager/fs/fs.go:165
↓ 12 callersFunctionLoginRequired
LoginRequired 需要登录
middleware/auth.go:91
↓ 12 callersMethodPassword
Password returns the value of the "password" field in the mutation.
ent/mutation.go:15401
↓ 12 callersMethodRun
(fn func())
pkg/queue/thread.go:13
↓ 12 callersMethodSince
(t time.Time)
pkg/recaptcha/recaptcha.go:49
↓ 12 callersMethodSiteBasic
Site basic information
pkg/setting/provider.go:22
↓ 12 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the FsEventCreate.OnConflict documentation for more info.
ent/fsevent_create.go:415
↓ 12 callersMethodUpdate
Update allows overriding fields `UPDATE` values. See the FsEventCreateBulk.OnConflict documentation for more info.
ent/fsevent_create.go:715
↓ 12 callersFunctionrotate90
(img image.Image)
pkg/thumb/libraw.go:239
↓ 11 callersFunctionChunkText
ChunkText splits text into chunks of approximately maxBytes bytes each. It splits on paragraph breaks (\n\n), combines small paragraphs until the byte
pkg/searcher/indexer/chunker.go:10
↓ 11 callersMethodClose
()
application/application.go:32
↓ 11 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:13894
↓ 11 callersMethodGeneralAuth
GeneralAuth Get a singleton auth.Auth instance for general authentication.
application/dependency/dependency.go:82
↓ 11 callersFunctionIsAnonymousUser
IsAnonymousUser check if given user is anonymous user.
inventory/user.go:546
↓ 11 callersMethodIsLocal
IsLocal returns true if the source is in local machine.
pkg/filemanager/manager/entitysource/entitysource.go:63
↓ 11 callersMethodJoinRaw
Join path with raw string
pkg/filemanager/fs/uri.go:173
↓ 11 callersMethodLength
Length returns the length of current chunk
pkg/filemanager/chunk/chunk.go:166
↓ 11 callersFunctionLockApp
(a ApplicationType)
pkg/filemanager/fs/fs.go:698
↓ 11 callersFunctionNewChunkGroup
(file *fs.UploadRequest, chunkSize int64, backoff backoff.Backoff, useBuffer bool, l logging.Logger, tempPath
pkg/filemanager/chunk/chunk.go:35
↓ 11 callersMethodNext
Next switch to next chunk, returns whether all chunks are processed
pkg/filemanager/chunk/chunk.go:159
↓ 11 callersMethodOAuthClientClient
OAuthClientClient Creates a new inventory.OAuthClientClient instance for access DB OAuth client store.
application/dependency/dependency.go:94
↓ 11 callersMethodPrimaryEntityID
()
pkg/filemanager/fs/fs.go:162
↓ 11 callersMethodProcess
Process a chunk with retry logic
pkg/filemanager/chunk/chunk.go:73
↓ 11 callersFunctionRandStringRunesCrypto
(n int)
pkg/util/common.go:39
↓ 11 callersMethodScan
Scan applies the selector query and scans the result into the given value.
ent/node_query.go:578
↓ 11 callersMethodScopes
Scopes returns the value of the "scopes" field in the mutation.
ent/mutation.go:9551
↓ 11 callersFunctionSet
Set sets a BooleanSet value.
pkg/boolset/boolset.go:76
↓ 11 callersMethodSetPassword
SetPassword sets the "password" field.
ent/mutation.go:15396
↓ 11 callersMethodShareClient
ShareClient Creates a new inventory.ShareClient instance for access DB share store.
application/dependency/dependency.go:106
↓ 11 callersMethodSharedAddressTranslation
SharedAddressTranslation translates a path that potentially contain shared symbolic to a real address.
pkg/filemanager/fs/fs.go:66
↓ 11 callersMethodUrl
Url generates a download url for the entity.
pkg/filemanager/manager/entitysource/entitysource.go:57
↓ 11 callersMethodacquireByPath
(ctx context.Context, duration time.Duration, requester *ent.User, zeroDepth bool, application lock.Applicati
pkg/filemanager/fs/dbfs/lock.go:109
↓ 11 callersFunctiongetOrderTerm
getOrderTerm returns the order term for ent.
inventory/common.go:100
↓ 11 callersMethodsqlQuery
(ctx context.Context)
ent/user_query.go:1079
↓ 10 callersMethodAll
All executes the query and returns a list of Files.
ent/file_query.go:352
↓ 10 callersMethodAppendStorageDiff
AppendStorageDiff appends the given storage diff to the transaction.
inventory/tx.go:30
↓ 10 callersFunctionContainsString
ContainsString 返回list中是否包含
pkg/util/common.go:102
↓ 10 callersMethodCreate
Create creates a file.
pkg/filemanager/fs/fs.go:75
↓ 10 callersMethodDownloads
Downloads returns the value of the "downloads" field in the mutation.
ent/mutation.go:11785
↓ 10 callersFunctionEncodeEntityID
EncodeEntityID encode entity id to hash id
pkg/hashid/hash.go:115
← previousnext →201–300 of 11,486, ranked by callers