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
WithShares
WithShares tells the query-builder to eager-load the nodes that are connected to the "shares" edge. The optional arguments are used to configure the q
ent/file_query.go:525
↓ 1 callers
Method
WithStoragePolicies
WithStoragePolicies tells the query-builder to eager-load the nodes that are connected to the "storage_policies" edge. The optional arguments are used
ent/file_query.go:470
↓ 1 callers
Function
WithStreamListResponseCallback
WithStreamListResponseCallback sets the callback for handling stream list response.
pkg/filemanager/fs/dbfs/options.go:149
↓ 1 callers
Function
WithSymbolicLink
WithSymbolicLink sets the file is a symbolic link.
pkg/filemanager/fs/dbfs/options.go:156
↓ 1 callers
Function
WithUploadSession
==================== FS Options ==================== WithUploadSession sets upload session for manager.
pkg/filemanager/fs/fs.go:435
↓ 1 callers
Function
WithUseThumb
WithUseThumb sets whether entity's URL is used for thumbnail.
pkg/filemanager/fs/fs.go:540
↓ 1 callers
Function
WriteEventSourceHeader
(c *gin.Context)
service/explorer/response.go:540
↓ 1 callers
Function
allprop
Allprop returns the properties defined for resource name and the properties named in include. Note that RFC 4918 defines 'allprop' to return the DAV:
pkg/webdav/prop.go:420
↓ 1 callers
Function
applyPatches
(l logging.Logger, client *ent.Client, ctx context.Context, requiredDbVersion string)
inventory/migration.go:585
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the OAuthGrant fields.
ent/oauthgrant.go:100
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the File fields.
ent/file.go:183
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Share fields.
ent/share.go:113
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the OAuthClient fields.
ent/oauthclient.go:92
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Node fields.
ent/node.go:93
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Metadata fields.
ent/metadata.go:85
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Group fields.
ent/group.go:105
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Passkey fields.
ent/passkey.go:89
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the StoragePolicy fields.
ent/storagepolicy.go:138
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the FsEvent fields.
ent/fsevent.go:84
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Setting fields.
ent/setting.go:53
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the DirectLink fields.
ent/directlink.go:83
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Task fields.
ent/task.go:94
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the DavAccount fields.
ent/davaccount.go:94
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the Entity fields.
ent/entity.go:125
↓ 1 callers
Method
assignValues
assignValues assigns the values that were returned from sql.Rows (after scanning) to the User fields.
ent/user.go:185
↓ 1 callers
Method
attrval
()
pkg/webdav/internal/xml/xml.go:832
↓ 1 callers
Method
autoClose
If the top element on the stack is autoclosing and t is not the end tag, invent the end tag.
pkg/webdav/internal/xml/xml.go:503
↓ 1 callers
Method
awaitSlaveCompressing
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/archive.go:267
↓ 1 callers
Method
awaitSlaveExtractComplete
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/extract.go:230
↓ 1 callers
Method
batchInConditionMetadataName
(pageSize, margin int, multiply int, keys []string)
inventory/file_utils.go:167
↓ 1 callers
Function
buildSSRFOptions
buildSSRFOptions composes the SSRF policy for a download: the assigned node's URLValidation settings, plus the operator-configured site URL hosts (alw
pkg/filemanager/workflows/remote_download.go:231
↓ 1 callers
Method
canCreate
(name string, zeroDepth bool)
pkg/webdav/lock.go:291
↓ 1 callers
Method
canCreate
(index int, ns, name string, zeroDepth bool)
pkg/filemanager/lock/memlock.go:188
↓ 1 callers
Function
canMoveOrCopyTo
(src, dst *fs.URI, isCopy bool)
pkg/filemanager/fs/dbfs/dbfs.go:805
↓ 1 callers
Function
capExpireTime
capExpireTime make sure expire time is not too long or too short (if min or max is set)
pkg/filemanager/manager/entitysource/entitysource.go:774
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/file_update.go:489
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/file_update.go:1340
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/davaccount_update.go:193
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/davaccount_update.go:460
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/metadata_update.go:173
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/metadata_update.go:413
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/task_update.go:206
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/task_update.go:489
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/entity_update.go:331
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/entity_update.go:823
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/passkey_update.go:186
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/passkey_update.go:444
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/oauthgrant_update.go:190
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/oauthgrant_update.go:482
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/oauthclient_update.go:250
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/oauthclient_update.go:626
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/node_update.go:265
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/node_update.go:645
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/directlink_update.go:187
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/directlink_update.go:447
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/user_update.go:569
↓ 1 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/user_update.go:1601
↓ 1 callers
Function
checkIP
(ip net.IP)
pkg/request/ssrf.go:198
↓ 1 callers
Function
checkIfMatch
(r *http.Request, currentEtag string)
pkg/filemanager/manager/entitysource/entitysource.go:828
↓ 1 callers
Function
checkIfNoneMatch
(r *http.Request, currentEtag string)
pkg/filemanager/manager/entitysource/entitysource.go:892
↓ 1 callers
Function
checkIfRange
(r *http.Request, currentEtag string)
pkg/filemanager/manager/entitysource/entitysource.go:944
↓ 1 callers
Function
checkPreconditions
checkPreconditions evaluates request preconditions and reports whether a precondition resulted in sending StatusNotModified or StatusPreconditionFaile
pkg/filemanager/manager/entitysource/entitysource.go:793
↓ 1 callers
Method
cleanupExpiredSubscribers
cleanupExpiredSubscribers removes subscribers that have been offline for more than 14 days.
pkg/filemanager/eventhub/eventhub.go:83
↓ 1 callers
Method
cleanupLoop
cleanupLoop periodically removes subscribers that have been offline for too long.
pkg/filemanager/eventhub/eventhub.go:66
↓ 1 callers
Function
clipLat
(lat float64)
pkg/mediameta/exif.go:549
↓ 1 callers
Method
clone
()
pkg/request/options.go:54
↓ 1 callers
Function
commonFields
()
ent/schema/common.go:78
↓ 1 callers
Function
commonHooks
(d interface { P(w interface { WhereP(...func(*sql.Selector)) }) })
ent/schema/common.go:101
↓ 1 callers
Method
completeUpload
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/archive.go:368
↓ 1 callers
Method
copyFiles
(ctx context.Context, targets map[Navigator][]*File, destination *File, fc inventory.FileClient)
pkg/filemanager/fs/dbfs/manage.go:867
↓ 1 callers
Method
create
(name string)
pkg/webdav/lock.go:315
↓ 1 callers
Method
create
(ns, name, token string)
pkg/filemanager/lock/memlock.go:271
↓ 1 callers
Method
createAndAwaitSlaveUploading
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/archive.go:301
↓ 1 callers
Method
createArchiveFile
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/archive.go:372
↓ 1 callers
Method
createDownloadTask
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/remote_download.go:172
↓ 1 callers
Method
createFile
createFile creates a file with given name and type under given parent folder
pkg/filemanager/fs/dbfs/dbfs.go:588
↓ 1 callers
Method
createSlaveExtractTask
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/extract.go:169
↓ 1 callers
Method
cursorPagination
(ctx context.Context, query *ent.ShareQuery, args *ListShareArgs, paramMargin int)
inventory/share.go:285
↓ 1 callers
Method
cursorPagination
(ctx context.Context, query *ent.DavAccountQuery, args *ListDavAccountArgs, paramMargin int)
inventory/dav_account.go:119
↓ 1 callers
Method
cursorPagination
cursorPagination perform pagination with cursor, which is faster than fast pagination, but less flexible.
inventory/file_utils.go:184
↓ 1 callers
Method
cursorPagination
(ctx context.Context, query *ent.TaskQuery, args *ListTaskArgs, paramMargin int)
inventory/task.go:243
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/group_update.go:264
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/group_update.go:659
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/davaccount_update.go:181
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/davaccount_update.go:448
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/fsevent_update.go:168
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/fsevent_update.go:400
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/share_update.go:267
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/share_update.go:659
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/setting_update.go:127
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/setting_update.go:294
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/metadata_update.go:161
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/metadata_update.go:401
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/storagepolicy_update.go:444
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/storagepolicy_update.go:1141
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/task_update.go:194
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/task_update.go:477
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/entity_update.go:319
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/entity_update.go:811
↓ 1 callers
Method
defaults
defaults sets the default values of the builder before save.
ent/passkey_update.go:174
← previous
next →
4,101–4,200 of 11,486, ranked by callers