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
↓ 1 callers
Method
String
String returns a single string from a selector. It is only allowed when selecting one field.
ent/ent.go:355
↓ 1 callers
Method
String
()
pkg/filemanager/fs/uri.go:111
↓ 1 callers
Method
SubmitAndAwaitThumbnailTask
(ctx context.Context, uri *fs.URI, ext string, entity fs.Entity)
pkg/filemanager/manager/thumbnail.go:103
↓ 1 callers
Method
SubmitAndAwaitThumbnailTask
SubmitAndAwaitThumbnailTask submits a thumbnail task and waits for result
pkg/filemanager/manager/entity.go:35
↓ 1 callers
Method
Subscribe
Subscribe to a topic and return a channel to receive events. If a subscriber with the same ID already exists and is offline, it will be reactivated an
pkg/filemanager/eventhub/eventhub.go:18
↓ 1 callers
Function
Sum
Sum applies the "sum" aggregation function on the given field of each group.
ent/ent.go:191
↓ 1 callers
Method
Summary
Summary 获取站点统计概况
service/admin/site.go:84
↓ 1 callers
Method
SupportColor
SupportColor returns if current logger support outputting colors.
pkg/logging/logger.go:24
↓ 1 callers
Method
TakeBySubscriber
Get all FsEvents by subscriber and user
inventory/fs_event.go:23
↓ 1 callers
Function
TaskPhaseProgress
(c *gin.Context, taskID int)
service/explorer/workflows.go:386
↓ 1 callers
Method
Tasks
(c *gin.Context)
service/admin/task.go:82
↓ 1 callers
Method
TellStatus
(gid string, keys ...string)
pkg/downloader/aria2/rpc/proto.go:16
↓ 1 callers
Function
TestGenerator
TestGenerator tests thumb generator by getting lib version
pkg/thumb/tester.go:18
↓ 1 callers
Method
ThumbGCAfterGen
ThumbGCAfterGen returns true if force GC is invoked after thumb generation.
pkg/setting/provider.go:124
↓ 1 callers
Method
ThumbPipeline
ThumbPipeline Get a singleton thumb.Generator instance for chained thumbnail generation.
application/dependency/dependency.go:118
↓ 1 callers
Function
Thumbnail
Thumbnail will downscale provided image to max width and height preserving original aspect ratio and using the interpolation function interp. It will
pkg/thumb/builtin.go:109
↓ 1 callers
Method
Thumbnail
Thumbnail gets thumbnail entity of given file
pkg/filemanager/manager/entity.go:33
↓ 1 callers
Function
TimeOffset
TimeOffset returns the UTC time offset in seconds or an error if it is invalid.
pkg/mediameta/exif.go:857
↓ 1 callers
Function
TimeZone
TimeZone returns a time zone for the given UTC offset string.
pkg/mediameta/exif.go:840
↓ 1 callers
Function
ToPtr
(v T)
pkg/util/common.go:358
↓ 1 callers
Method
Total
Total returns the total length
pkg/filemanager/chunk/chunk.go:139
↓ 1 callers
Method
TraverseFile
TraverseFile traverses a file to its root file, return the file with linked root.
pkg/filemanager/fs/fs.go:99
↓ 1 callers
Method
TraverseFile
TraverseFile traverses a file to its root file, return the file with linked root.
pkg/filemanager/manager/manager.go:59
↓ 1 callers
Method
TraverseFile
(ctx context.Context, fileID int)
pkg/filemanager/manager/operation.go:306
↓ 1 callers
Method
Tx
Tx adds an log-id for the transaction and calls the underlying driver Tx command.
inventory/debug/debug.go:83
↓ 1 callers
Function
Type
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
ent/task/where.go:75
↓ 1 callers
Function
Type
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
ent/entity/where.go:75
↓ 1 callers
Function
TypeEQ
TypeEQ applies the EQ predicate on the "type" field.
ent/node/where.go:315
↓ 1 callers
Function
TypeIn
TypeIn applies the In predicate on the "type" field.
ent/file/where.go:199
↓ 1 callers
Function
UTF7Decode
UTF7Decode converts a string from modified UTF-7 encoding to UTF-8.
pkg/wopi/utf7.go:441
↓ 1 callers
Function
UTF7DecodeBytes
UTF7DecodeBytes converts a byte slice from modified UTF-7 encoding to UTF-8.
pkg/wopi/utf7.go:448
↓ 1 callers
Function
UTF7EncodeBytes
UTF7EncodeBytes converts a byte slice from UTF-8 encoding to modified UTF-7.
pkg/wopi/utf7.go:394
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/setting_query.go:49
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/node_query.go:52
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/storagepolicy_query.go:58
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/group_query.go:54
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/fsevent_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/davaccount_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/metadata_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/oauthgrant_query.go:53
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/directlink_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/passkey_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/share_query.go:54
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/oauthclient_query.go:52
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/task_query.go:51
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/entity_query.go:56
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/file_query.go:64
↓ 1 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/user_query.go:68
↓ 1 callers
Method
UnlinkEntity
UnlinkEntity unlinks an entity from a file
inventory/file.go:209
↓ 1 callers
Method
UnlinkEntity
(ctx context.Context, entity *ent.Entity, file *ent.File, owner *ent.User)
inventory/file.go:885
↓ 1 callers
Method
Unlock
(ctx context.Context, tokens ...string)
pkg/filemanager/manager/operation.go:235
↓ 1 callers
Method
UnmarshalBinary
(data []byte)
pkg/boolset/boolset.go:27
↓ 1 callers
Method
UnmarshalXML
(d *Decoder, start StartElement)
pkg/webdav/internal/xml/read.go:157
↓ 1 callers
Method
UnpinFile
UnpinFile removes uri from sidebar
service/explorer/pin.go:55
↓ 1 callers
Method
Update
(ctx context.Context, req *fs.UploadRequest, opts ...fs.Option)
pkg/filemanager/manager/upload.go:326
↓ 1 callers
Method
Update
Update updates an existing OAuth client.
inventory/oauth_client.go:39
↓ 1 callers
Method
UpdateAccessKey
UpdateAccessKey updates the access key of the storage policy. It also clear related cache in KV.
inventory/policy.go:36
↓ 1 callers
Method
UpdateCredential
UpdateCredential 更新凭证,并检查有效期
pkg/filemanager/driver/onedrive/oauth.go:243
↓ 1 callers
Method
UpdateLastUsedAt
UpdateLastUsedAt sets the "last_used_at" field to the value that was provided on create.
ent/oauthgrant_create.go:405
↓ 1 callers
Method
UpdateModifiedAt
UpdateModifiedAt updates modified at of a file
inventory/file.go:236
↓ 1 callers
Method
UpdateNewValues
UpdateNewValues updates the mutable fields using the new values that were set on create. Using this option is equivalent to using: client.File.Creat
ent/file_create.go:779
↓ 1 callers
Method
UpdateNickname
UpdateNickname updates user nickname.
inventory/user.go:75
↓ 1 callers
Method
UpdateProps
UpdateProps updates props of a file
inventory/file.go:234
↓ 1 callers
Method
UpdateScopes
UpdateScopes sets the "scopes" field to the value that was provided on create.
ent/oauthgrant_create.go:393
↓ 1 callers
Function
UpdateUserAvatar
(c *gin.Context)
service/user/setting.go:158
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:226
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:1082
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:1886
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:3157
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:4769
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:5484
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:6556
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:7292
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:8367
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:9393
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:10202
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:11000
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:11594
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:12689
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:14309
↓ 1 callers
Method
UpdatedAt
UpdatedAt returns the value of the "updated_at" field in the mutation.
ent/mutation.go:15244
↓ 1 callers
Method
UpdatedAt
()
pkg/filemanager/fs/fs.go:179
↓ 1 callers
Function
UpdatedAtGT
UpdatedAtGT applies the GT predicate on the "updated_at" field.
ent/file/where.go:169
↓ 1 callers
Function
UpdatedAtGTE
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
ent/file/where.go:174
↓ 1 callers
Function
UpdatedAtLT
UpdatedAtLT applies the LT predicate on the "updated_at" field.
ent/file/where.go:179
↓ 1 callers
Function
UpdatedAtLTE
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
ent/file/where.go:184
↓ 1 callers
Method
UpgradePlaceholder
UpgradePlaceholder upgrades a placeholder entity to a real version entity
inventory/file.go:181
↓ 1 callers
Method
UploadChunk
UploadChunk 上传分片
pkg/filemanager/driver/onedrive/api.go:234
↓ 1 callers
Method
UploadSessionID
UploadSessionID returns the value of the "upload_session_id" field in the mutation.
ent/mutation.go:2260
↓ 1 callers
Method
UpsertGrant
UpsertGrant creates or updates an OAuth grant for a user and client.
inventory/oauth_client.go:26
↓ 1 callers
Method
UserFsevent
UserFsevent returns the value of the "user_fsevent" field in the mutation.
ent/mutation.go:4926
↓ 1 callers
Method
UserFseventCleared
UserFseventCleared returns if the "user_fsevent" field was cleared in this mutation.
ent/mutation.go:4958
↓ 1 callers
Method
UserID
UserID returns the value of the "user_id" field in the mutation.
ent/mutation.go:9478
↓ 1 callers
Method
UserID
UserID returns the value of the "user_id" field in the mutation.
ent/mutation.go:10287
↓ 1 callers
Method
UserOrErr
UserOrErr returns the User value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/task.go:59
↓ 1 callers
Method
UserTasks
UserTasks returns the value of the "user_tasks" field in the mutation.
ent/mutation.go:14600
↓ 1 callers
Method
UserTasksCleared
UserTasksCleared returns if the "user_tasks" field was cleared in this mutation.
ent/mutation.go:14632
↓ 1 callers
Method
Users
(c *gin.Context)
service/admin/user.go:42
↓ 1 callers
Function
ValidateCallback
(c *gin.Context, session *fs.UploadSession)
pkg/filemanager/driver/upyun/upyun.go:356
↓ 1 callers
Method
Value
Value returns the value of the "value" field in the mutation.
ent/mutation.go:6677
← previous
next →
3,901–4,000 of 11,486, ranked by callers