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
↓ 16 callers
Method
Traverse
Traverse calls f(ctx, q).
ent/intercept/intercept.go:78
↓ 16 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PasskeyCreate.OnConflict documentation for more info.
ent/passkey_create.go:454
↓ 16 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the PasskeyCreateBulk.OnConflict documentation for more info.
ent/passkey_create.go:782
↓ 16 callers
Method
UserCleared
UserCleared reports if the "user" edge to the User entity was cleared.
ent/mutation.go:14655
↓ 16 callers
Method
mutate
(ctx context.Context, m *FileMutation)
ent/client.go:1066
↓ 16 callers
Function
querierAll
()
ent/ent.go:564
↓ 16 callers
Method
scanValues
scanValues returns the types for scanning values from sql.Rows.
ent/file.go:160
↓ 15 callers
Method
Ext
()
pkg/filemanager/fs/fs.go:148
↓ 15 callers
Method
IDs
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 callers
Method
Interceptors
Interceptors of the CommonMixin.
ent/schema/common.go:36
↓ 15 callers
Method
IsNil
()
pkg/filemanager/fs/fs.go:144
↓ 15 callers
Function
LockSessionToContext
LockSessionToContext stores lock session to context.
pkg/filemanager/fs/fs.go:705
↓ 15 callers
Method
Mixin
()
ent/schema/node.go:42
↓ 15 callers
Function
SanitizeString
SanitizeString removes unwanted character from an exif value string.
pkg/mediameta/exif.go:580
↓ 15 callers
Method
SetUpdatedAt
SetUpdatedAt sets the "updated_at" field.
ent/mutation.go:3152
↓ 15 callers
Method
Shutdown
Shutdown the dependencies gracefully.
application/dependency/dependency.go:84
↓ 15 callers
Function
SkipSoftDelete
SkipSoftDelete returns a new context that skips the soft-delete interceptor/mutators.
ent/schema/common.go:31
↓ 15 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the DirectLinkCreate.OnConflict documentation for more info.
ent/directlink_create.go:429
↓ 15 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the DirectLinkCreateBulk.OnConflict documentation for more info.
ent/directlink_create.go:750
↓ 15 callers
Function
UseFirstSiteUrl
(ctx context.Context)
pkg/setting/provider.go:980
↓ 15 callers
Function
WithNotRoot
WithNotRoot force the get result cannot be a root folder
pkg/filemanager/fs/dbfs/options.go:70
↓ 15 callers
Function
capPageSize
(maxSQlParam, preferredSize, margin int)
inventory/common.go:109
↓ 14 callers
Method
Delete
Delete deletes a group of files (and related models) with given entity recycle option
inventory/file.go:198
↓ 14 callers
Method
FileCleared
FileCleared reports if the "file" edge to the File entity was cleared.
ent/mutation.go:12052
↓ 14 callers
Method
List
List returns a list of tasks with the given args.
inventory/task.go:45
↓ 14 callers
Function
NewAggregateError
NewAggregateError creates a new AggregateError
pkg/serializer/error.go:390
↓ 14 callers
Function
NewUserClient
NewUserClient returns a client for the User from the given config.
ent/client.go:2828
↓ 14 callers
Method
PolicyID
()
pkg/filemanager/fs/fs.go:166
↓ 14 callers
Method
PrimaryEntity
()
pkg/filemanager/fs/fs.go:161
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the OAuthGrantCreate.OnConflict documentation for more info.
ent/oauthgrant_create.go:454
↓ 14 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the OAuthGrantCreateBulk.OnConflict documentation for more info.
ent/oauthgrant_create.go:768
↓ 14 callers
Method
getInt64
(ctx context.Context, name string, defaultVal int64)
pkg/setting/provider.go:909
↓ 13 callers
Method
Capabilities
()
pkg/filemanager/fs/fs.go:169
↓ 13 callers
Method
Commit
(context.Context, *Tx)
ent/tx.go:61
↓ 13 callers
Method
GetResponse
GetResponse 检查响应并获取响应正文
pkg/request/request.go:226
↓ 13 callers
Method
Metadata
()
pkg/filemanager/fs/fs.go:153
↓ 13 callers
Function
NewClient
(config conf.ConfigProvider, opts ...Option)
pkg/request/request.go:61
↓ 13 callers
Function
NewFileClient
NewFileClient returns a client for the File from the given config.
ent/client.go:825
↓ 13 callers
Function
RegisterResumableTaskFactory
RegisterResumableTaskFactory registers a resumable Task factory
pkg/queue/task.go:124
↓ 13 callers
Function
RelativePath
RelativePath 获取相对可执行文件的路径
pkg/util/path.go:59
↓ 13 callers
Method
SetProps
SetProps sets the "props" field.
ent/mutation.go:3527
↓ 13 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the MetadataCreate.OnConflict documentation for more info.
ent/metadata_create.go:429
↓ 13 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the MetadataCreateBulk.OnConflict documentation for more info.
ent/metadata_create.go:736
↓ 13 callers
Method
Where
Where adds a new predicate for the FileQuery builder.
ent/file_query.go:45
↓ 13 callers
Function
WithEntity
WithEntity sets entity for manager.
pkg/filemanager/fs/fs.go:526
↓ 13 callers
Function
WithFileEntities
WithFileEntities enables loading file entities.
pkg/filemanager/fs/dbfs/options.go:84
↓ 13 callers
Method
prepareQuery
(ctx context.Context)
ent/file_query.go:593
↓ 13 callers
Method
prepareQuery
(ctx context.Context)
ent/user_query.go:631
↓ 13 callers
Method
ungetc
Unread a single byte.
pkg/webdav/internal/xml/xml.go:940
↓ 13 callers
Method
updateStep
updateStep updates current step and persists state
application/migrator/migrator.go:175
↓ 12 callers
Method
All
All executes the query and returns a list of Users.
ent/user_query.go:378
↓ 12 callers
Function
And
And groups predicates with the AND operator between them.
ent/file/where.go:668
↓ 12 callers
Method
DBClient
()
application/dependency/dependency.go:329
↓ 12 callers
Method
Dir
()
pkg/filemanager/fs/uri.go:119
↓ 12 callers
Function
EncodeFileID
EncodeFileID encode file id to hash id
pkg/hashid/hash.go:97
↓ 12 callers
Method
Entities
()
pkg/filemanager/fs/fs.go:160
↓ 12 callers
Method
EntitiesCleared
EntitiesCleared reports if the "entities" edge to the Entity entity was cleared.
ent/mutation.go:3855
↓ 12 callers
Method
FileIDs
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 callers
Method
Get
Get a string setting from underlying store, if setting not found, default value will be used.
pkg/setting/adapters.go:25
↓ 12 callers
Method
GetEntitySource
GetEntitySource gets source of given entity
pkg/filemanager/manager/entity.go:31
↓ 12 callers
Method
IsSymbolic
()
pkg/filemanager/fs/fs.go:165
↓ 12 callers
Function
LoginRequired
LoginRequired 需要登录
middleware/auth.go:91
↓ 12 callers
Method
Password
Password returns the value of the "password" field in the mutation.
ent/mutation.go:15401
↓ 12 callers
Method
Run
(fn func())
pkg/queue/thread.go:13
↓ 12 callers
Method
Since
(t time.Time)
pkg/recaptcha/recaptcha.go:49
↓ 12 callers
Method
SiteBasic
Site basic information
pkg/setting/provider.go:22
↓ 12 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the FsEventCreate.OnConflict documentation for more info.
ent/fsevent_create.go:415
↓ 12 callers
Method
Update
Update allows overriding fields `UPDATE` values. See the FsEventCreateBulk.OnConflict documentation for more info.
ent/fsevent_create.go:715
↓ 12 callers
Function
rotate90
(img image.Image)
pkg/thumb/libraw.go:239
↓ 11 callers
Function
ChunkText
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 callers
Method
Close
()
application/application.go:32
↓ 11 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:13894
↓ 11 callers
Method
GeneralAuth
GeneralAuth Get a singleton auth.Auth instance for general authentication.
application/dependency/dependency.go:82
↓ 11 callers
Function
IsAnonymousUser
IsAnonymousUser check if given user is anonymous user.
inventory/user.go:546
↓ 11 callers
Method
IsLocal
IsLocal returns true if the source is in local machine.
pkg/filemanager/manager/entitysource/entitysource.go:63
↓ 11 callers
Method
JoinRaw
Join path with raw string
pkg/filemanager/fs/uri.go:173
↓ 11 callers
Method
Length
Length returns the length of current chunk
pkg/filemanager/chunk/chunk.go:166
↓ 11 callers
Function
LockApp
(a ApplicationType)
pkg/filemanager/fs/fs.go:698
↓ 11 callers
Function
NewChunkGroup
(file *fs.UploadRequest, chunkSize int64, backoff backoff.Backoff, useBuffer bool, l logging.Logger, tempPath
pkg/filemanager/chunk/chunk.go:35
↓ 11 callers
Method
Next
Next switch to next chunk, returns whether all chunks are processed
pkg/filemanager/chunk/chunk.go:159
↓ 11 callers
Method
OAuthClientClient
OAuthClientClient Creates a new inventory.OAuthClientClient instance for access DB OAuth client store.
application/dependency/dependency.go:94
↓ 11 callers
Method
PrimaryEntityID
()
pkg/filemanager/fs/fs.go:162
↓ 11 callers
Method
Process
Process a chunk with retry logic
pkg/filemanager/chunk/chunk.go:73
↓ 11 callers
Function
RandStringRunesCrypto
(n int)
pkg/util/common.go:39
↓ 11 callers
Method
Scan
Scan applies the selector query and scans the result into the given value.
ent/node_query.go:578
↓ 11 callers
Method
Scopes
Scopes returns the value of the "scopes" field in the mutation.
ent/mutation.go:9551
↓ 11 callers
Function
Set
Set sets a BooleanSet value.
pkg/boolset/boolset.go:76
↓ 11 callers
Method
SetPassword
SetPassword sets the "password" field.
ent/mutation.go:15396
↓ 11 callers
Method
ShareClient
ShareClient Creates a new inventory.ShareClient instance for access DB share store.
application/dependency/dependency.go:106
↓ 11 callers
Method
SharedAddressTranslation
SharedAddressTranslation translates a path that potentially contain shared symbolic to a real address.
pkg/filemanager/fs/fs.go:66
↓ 11 callers
Method
Url
Url generates a download url for the entity.
pkg/filemanager/manager/entitysource/entitysource.go:57
↓ 11 callers
Method
acquireByPath
(ctx context.Context, duration time.Duration, requester *ent.User, zeroDepth bool, application lock.Applicati
pkg/filemanager/fs/dbfs/lock.go:109
↓ 11 callers
Function
getOrderTerm
getOrderTerm returns the order term for ent.
inventory/common.go:100
↓ 11 callers
Method
sqlQuery
(ctx context.Context)
ent/user_query.go:1079
↓ 10 callers
Method
All
All executes the query and returns a list of Files.
ent/file_query.go:352
↓ 10 callers
Method
AppendStorageDiff
AppendStorageDiff appends the given storage diff to the transaction.
inventory/tx.go:30
↓ 10 callers
Function
ContainsString
ContainsString 返回list中是否包含
pkg/util/common.go:102
↓ 10 callers
Method
Create
Create creates a file.
pkg/filemanager/fs/fs.go:75
↓ 10 callers
Method
Downloads
Downloads returns the value of the "downloads" field in the mutation.
ent/mutation.go:11785
↓ 10 callers
Function
EncodeEntityID
EncodeEntityID encode entity id to hash id
pkg/hashid/hash.go:115
← previous
next →
201–300 of 11,486, ranked by callers