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
↓ 4 callers
Method
SetFileID
SetFileID sets the "file" edge to the File entity by id.
ent/mutation.go:12042
↓ 4 callers
Method
SetGUID
SetGUID sets the "guid" field.
ent/mutation.go:8447
↓ 4 callers
Method
SetIsPrivate
SetIsPrivate sets the "is_private" field.
ent/mutation.go:12939
↓ 4 callers
Method
SetIsSymbolic
SetIsSymbolic sets the "is_symbolic" field.
ent/mutation.go:3491
↓ 4 callers
Method
SetMaxSize
SetMaxSize sets the "max_size" field.
ent/mutation.go:13086
↓ 4 callers
Method
SetOptions
SetOptions sets the "options" field.
ent/mutation.go:414
↓ 4 callers
Method
SetRemainDownloads
SetRemainDownloads sets the "remain_downloads" field.
ent/mutation.go:11884
↓ 4 callers
Method
SetSecretKey
SetSecretKey sets the "secret_key" field.
ent/mutation.go:13037
↓ 4 callers
Method
SetSpeedLimit
SetSpeedLimit sets the "speed_limit" field.
ent/mutation.go:5670
↓ 4 callers
Method
SetStoragePolicyID
SetStoragePolicyID sets the "storage_policy_id" field.
ent/mutation.go:5825
↓ 4 callers
Method
SetURI
SetURI sets the "uri" field.
ent/mutation.go:342
↓ 4 callers
Method
SetWeight
SetWeight sets the "weight" field.
ent/mutation.go:7663
↓ 4 callers
Method
Sets
Sets 批量设置值
pkg/cache/redis.go:165
↓ 4 callers
Method
Sign
对给定Body进行签名,expires为0表示永不过期
pkg/auth/auth.go:38
↓ 4 callers
Method
SlaveKey
SlaveKey returns the value of the "slave_key" field in the mutation.
ent/mutation.go:7534
↓ 4 callers
Method
SlaveRequestSignTTL
SlaveRequestSignTTL returns the TTL of slave request signature.
pkg/setting/provider.go:72
↓ 4 callers
Method
SpeedLimit
SpeedLimit returns the value of the "speed_limit" field in the mutation.
ent/mutation.go:5676
↓ 4 callers
Function
SplitPath
SplitPath 分割路径为列表
pkg/util/path.go:39
↓ 4 callers
Function
StatusEQ
StatusEQ applies the EQ predicate on the "status" field.
ent/user/where.go:444
↓ 4 callers
Method
StoragePoliciesCleared
StoragePoliciesCleared reports if the "storage_policies" edge to the StoragePolicy entity was cleared.
ent/mutation.go:3663
↓ 4 callers
Method
StoragePolicyID
StoragePolicyID returns the value of the "storage_policy_id" field in the mutation.
ent/mutation.go:5830
↓ 4 callers
Method
TasksCleared
TasksCleared reports if the "tasks" edge to the Task entity was cleared.
ent/mutation.go:15991
↓ 4 callers
Method
TextExtractor
TextExtractor Get a singleton searcher.TextExtractor instance for text extraction.
application/dependency/dependency.go:148
↓ 4 callers
Method
ThumbQueue
ThumbQueue Get a singleton queue.Queue instance for thumbnail generation.
application/dependency/dependency.go:120
↓ 4 callers
Method
TwoFactorSecret
TwoFactorSecret returns the value of the "two_factor_secret" field in the mutation.
ent/mutation.go:15542
↓ 4 callers
Method
Type
Type returns the string representation of the query type.
ent/intercept/intercept.go:35
↓ 4 callers
Method
Type
()
pkg/filemanager/fs/dbfs/file.go:115
↓ 4 callers
Method
UploadSessionTTL
UploadSessionTTL returns the TTL of upload session.
pkg/setting/provider.go:68
↓ 4 callers
Method
UsedAt
UsedAt returns the value of the "used_at" field in the mutation.
ent/mutation.go:10431
↓ 4 callers
Function
UserID
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
ent/passkey/where.go:74
↓ 4 callers
Function
UserIDFromContext
UserIDFromContext get user id from context.
inventory/user.go:421
↓ 4 callers
Method
UsersCleared
UsersCleared reports if the "users" edge to the User entity was cleared.
ent/mutation.go:5889
↓ 4 callers
Method
Walk
Walk walks the file tree until limit is reached.
pkg/filemanager/fs/dbfs/navigator.go:47
↓ 4 callers
Method
WebAuthn
WebAuthn Get a singleton webauthn.WebAuthn instance for WebAuthn authentication.
application/dependency/dependency.go:136
↓ 4 callers
Method
Where
Where adds a new predicate for the EntityQuery builder.
ent/entity_query.go:37
↓ 4 callers
Function
WithConflictBehavior
WithConflictBehavior 设置文件重名后的处理方式
pkg/filemanager/driver/onedrive/options.go:36
↓ 4 callers
Method
WithFile
WithFile tells the query-builder to eager-load the nodes that are connected to the "file" edge. The optional arguments are used to configure the query
ent/share_query.go:322
↓ 4 callers
Function
WithMasterMeta
WithMasterMeta 请求时携带主机信息
pkg/request/options.go:118
↓ 4 callers
Function
WithNoEntityType
WithNoEntityType sets entity type to nil for manager.
pkg/filemanager/fs/fs.go:554
↓ 4 callers
Function
WithNoInternalProxy
WithNoInternalProxy overwrite policy's internal proxy setting
pkg/filemanager/manager/entitysource/entitysource.go:119
↓ 4 callers
Function
WithResumeTaskType
WithResumeTaskType set resume Task type
pkg/queue/options.go:81
↓ 4 callers
Method
cachedWriteError
return the bufio Writer's cached write error
pkg/webdav/internal/xml/marshal.go:1099
↓ 4 callers
Method
children
(ctx context.Context, parent *File, args *ListArgs)
pkg/filemanager/fs/dbfs/navigator.go:233
↓ 4 callers
Method
collectExpiredNodes
(now time.Time)
pkg/webdav/lock.go:138
↓ 4 callers
Method
collectExpiredNodes
(now time.Time)
pkg/filemanager/lock/memlock.go:262
↓ 4 callers
Method
defaultStart
defaultStart returns the default start element to use, given the reflect type, field info, and start template.
pkg/webdav/internal/xml/marshal.go:779
↓ 4 callers
Function
digestPassword
(password string)
inventory/user.go:608
↓ 4 callers
Method
fieldCanAutoIncrement
(field *gorm.StructField)
application/migrator/model/dialects/dialect_sqlite.go:41
↓ 4 callers
Function
getValue
getValue 从itemWithTTL中取值
pkg/cache/memo.go:40
↓ 4 callers
Method
getc
Read a single byte. If there is no byte to read, return ok==false and leave the error in d.err. Maintain line number.
pkg/webdav/internal/xml/xml.go:886
↓ 4 callers
Function
makeCopy
(b []byte)
pkg/webdav/internal/xml/xml.go:118
↓ 4 callers
Function
min
(a, b int)
pkg/webdav/internal/xml/typeinfo.go:261
↓ 4 callers
Function
mirrorImg
(img image.Image)
pkg/thumb/libraw.go:251
↓ 4 callers
Function
newDefaultOption
()
pkg/filemanager/driver/onedrive/options.go:53
↓ 4 callers
Function
newNode
(ctx context.Context, model *ent.Node, config conf.ConfigProvider, settings setting.Provider)
pkg/cluster/node.go:78
↓ 4 callers
Function
newTrashUri
(name string)
pkg/filemanager/fs/dbfs/navigator.go:552
↓ 4 callers
Function
next
Next returns the next token, if any, in the XML stream of d. RFC 4918 requires to ignore comments, processing instructions and directives. http://www.
pkg/webdav/xml.go:122
↓ 4 callers
Function
pageTokenFromString
(s string, hasher hashid.Encoder, idType int)
inventory/common.go:52
↓ 4 callers
Function
parseDepth
parseDepth maps the strings "0", "1" and "infinity" to 0, 1 and infiniteDepth. Parsing any other string returns invalidDepth. Different WebDAV method
pkg/webdav/webdav.go:797
↓ 4 callers
Method
prepareQuery
(ctx context.Context)
ent/setting_query.go:306
↓ 4 callers
Function
prepareTempFolder
(ctx context.Context, dep dependency.Dep, t queue.Task)
pkg/filemanager/workflows/worfklows.go:53
↓ 4 callers
Method
setParents
setParents sets the stack of current parents to those found in finfo. It only writes the start elements if vf holds a non-nil value. If finfo is &noFi
pkg/webdav/internal/xml/marshal.go:1144
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
ent/group_query.go:560
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
ent/oauthgrant_query.go:560
↓ 4 callers
Method
sqlQuery
(ctx context.Context)
ent/share_query.go:568
↓ 4 callers
Function
sysError
(err error)
pkg/filemanager/driver/onedrive/api.go:463
↓ 4 callers
Method
toConflictDetail
(index int, hasher hashid.Encoder)
pkg/filemanager/lock/memlock.go:404
↓ 4 callers
Function
withShareEagerLoading
(ctx context.Context, q *ent.ShareQuery)
inventory/share.go:421
↓ 4 callers
Method
writeEnd
(name Name)
pkg/webdav/internal/xml/marshal.go:902
↓ 4 callers
Method
writeStart
writeStart writes the given start element.
pkg/webdav/internal/xml/marshal.go:839
↓ 3 callers
Method
AddedMaxSize
AddedMaxSize returns the value that was added to the "max_size" field in this mutation.
ent/mutation.go:13127
↓ 3 callers
Method
AddedMaxStorage
AddedMaxStorage returns the value that was added to the "max_storage" field in this mutation.
ent/mutation.go:5641
↓ 3 callers
Method
AddedPrimaryEntity
AddedPrimaryEntity returns the value that was added to the "primary_entity" field in this mutation.
ent/mutation.go:3413
↓ 3 callers
Method
AddedReferenceCount
AddedReferenceCount returns the value that was added to the "reference_count" field in this mutation.
ent/mutation.go:2155
↓ 3 callers
Method
AddedRemainDownloads
AddedRemainDownloads returns the value that was added to the "remain_downloads" field in this mutation.
ent/mutation.go:11925
↓ 3 callers
Method
AddedSpeed
AddedSpeed returns the value that was added to the "speed" field in this mutation.
ent/mutation.go:1331
↓ 3 callers
Method
AddedSpeedLimit
AddedSpeedLimit returns the value that was added to the "speed_limit" field in this mutation.
ent/mutation.go:5711
↓ 3 callers
Method
AddedStorage
AddedStorage returns the value that was added to the "storage" field in this mutation.
ent/mutation.go:15522
↓ 3 callers
Method
AddedViews
AddedViews returns the value that was added to the "views" field in this mutation.
ent/mutation.go:11764
↓ 3 callers
Method
AddedWeight
AddedWeight returns the value that was added to the "weight" field in this mutation.
ent/mutation.go:7704
↓ 3 callers
Method
All
All executes the query and returns a list of Settings.
ent/setting_query.go:161
↓ 3 callers
Method
AllSiteURLs
UseFirstSiteUrl returns the first site URL.
pkg/setting/provider.go:194
↓ 3 callers
Method
AncestorsChain
AncestorsChain return all ancestors of the file (including itself), until the owner root is reached.
pkg/filemanager/fs/dbfs/file.go:272
↓ 3 callers
Function
And
And groups predicates with the AND operator between them.
ent/metadata/where.go:407
↓ 3 callers
Method
Apply
(any)
pkg/filemanager/fs/fs.go:333
↓ 3 callers
Method
ApplyStorageDiff
ApplyStorageDiff apply storage diff to user.
inventory/user.go:71
↓ 3 callers
Function
BuildDavAccount
(account *ent.DavAccount, hasher hashid.Encoder)
service/setting/response.go:35
↓ 3 callers
Function
BuildShare
(ctx context.Context, s *ent.Share, base *url.URL, hasher hashid.Encoder, requester *ent.User, owner *ent.User
service/explorer/response.go:346
↓ 3 callers
Function
ByID
ByID orders the results by the id field.
ent/group/group.go:105
↓ 3 callers
Function
CacheControl
CacheControl 屏蔽客户端缓存
middleware/common.go:58
↓ 3 callers
Method
Cancel
Cancel the task with the given handle.
pkg/downloader/downloader.go:20
↓ 3 callers
Method
CancelToken
CancelToken 取消已经创建的有状态上传凭证
pkg/filemanager/driver/handler.go:72
↓ 3 callers
Method
CapEntities
CapEntities caps the number of entities of a given file. The oldest entities will be unlinked if entity count exceed limit.
inventory/file.go:192
↓ 3 callers
Method
Capabilities
Capabilities returns the capabilities of the navigator.
pkg/filemanager/fs/dbfs/navigator.go:45
↓ 3 callers
Function
CaptchaRequired
CaptchaRequired 验证请求签名
middleware/captcha.go:48
↓ 3 callers
Function
CheckScope
(c *gin.Context, requiredScopes ...string)
pkg/auth/jwt.go:322
↓ 3 callers
Method
ChildrenIDs
ChildrenIDs returns the "children" edge IDs in the mutation.
ent/mutation.go:3771
↓ 3 callers
Method
Cleanup
Cleanup is called when the Task is done or error.
pkg/queue/task.go:72
↓ 3 callers
Method
ClearTwoFactorSecret
ClearTwoFactorSecret clears the value of the "two_factor_secret" field.
ent/mutation.go:15568
↓ 3 callers
Method
Client
Client returns a Client that binds to current transaction.
ent/tx.go:171
← previous
next →
801–900 of 11,486, ranked by callers