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
OldUpdatedAt
OldUpdatedAt returns the old "updated_at" field's value of the Setting entity. If the Setting object wasn't provided to the builder, the object is fet
ent/mutation.go:11011
↓ 1 callers
Method
OldUpdatedAt
OldUpdatedAt returns the old "updated_at" field's value of the Share entity. If the Share object wasn't provided to the builder, the object is fetched
ent/mutation.go:11605
↓ 1 callers
Method
OldUpdatedAt
OldUpdatedAt returns the old "updated_at" field's value of the StoragePolicy entity. If the StoragePolicy object wasn't provided to the builder, the o
ent/mutation.go:12700
↓ 1 callers
Method
OldUpdatedAt
OldUpdatedAt returns the old "updated_at" field's value of the Task entity. If the Task object wasn't provided to the builder, the object is fetched f
ent/mutation.go:14320
↓ 1 callers
Method
OldUpdatedAt
OldUpdatedAt returns the old "updated_at" field's value of the User entity. If the User object wasn't provided to the builder, the object is fetched f
ent/mutation.go:15255
↓ 1 callers
Method
OldUploadSessionID
OldUploadSessionID returns the old "upload_session_id" field's value of the Entity entity. If the Entity object wasn't provided to the builder, the ob
ent/mutation.go:2271
↓ 1 callers
Method
OldUsedAt
OldUsedAt returns the old "used_at" field's value of the Passkey entity. If the Passkey object wasn't provided to the builder, the object is fetched f
ent/mutation.go:10442
↓ 1 callers
Method
OldUserFsevent
OldUserFsevent returns the old "user_fsevent" field's value of the FsEvent entity. If the FsEvent object wasn't provided to the builder, the object is
ent/mutation.go:4937
↓ 1 callers
Method
OldUserID
OldUserID returns the old "user_id" field's value of the OAuthGrant entity. If the OAuthGrant object wasn't provided to the builder, the object is fet
ent/mutation.go:9489
↓ 1 callers
Method
OldUserID
OldUserID returns the old "user_id" field's value of the Passkey entity. If the Passkey object wasn't provided to the builder, the object is fetched f
ent/mutation.go:10298
↓ 1 callers
Method
OldUserTasks
OldUserTasks returns the old "user_tasks" field's value of the Task entity. If the Task object wasn't provided to the builder, the object is fetched f
ent/mutation.go:14611
↓ 1 callers
Method
OldValue
OldValue returns the old "value" field's value of the Metadata entity. If the Metadata object wasn't provided to the builder, the object is fetched fr
ent/mutation.go:6688
↓ 1 callers
Method
OldValue
OldValue returns the old "value" field's value of the Setting entity. If the Setting object wasn't provided to the builder, the object is fetched from
ent/mutation.go:11132
↓ 1 callers
Method
OldViews
OldViews returns the old "views" field's value of the Share entity. If the Share object wasn't provided to the builder, the object is fetched from the
ent/mutation.go:11740
↓ 1 callers
Method
OldWeight
OldWeight returns the old "weight" field's value of the Node entity. If the Node object wasn't provided to the builder, the object is fetched from the
ent/mutation.go:7680
↓ 1 callers
Method
OnConflictColumns
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.File.Create().
ent/file_create.go:589
↓ 1 callers
Method
OnIterationComplete
OnIterationComplete is called when the one iteration is completed
pkg/queue/task.go:67
↓ 1 callers
Method
OnPersisted
OnPersisted is called when the Task is persisted or updated in DB
pkg/queue/task.go:61
↓ 1 callers
Method
OnRetry
OnRetry is called when the iteration returns error and before retry
pkg/queue/task.go:65
↓ 1 callers
Method
OnStatusTransition
OnStatusTransition is called when the Task status is changed
pkg/queue/task.go:69
↓ 1 callers
Method
OnSuspend
OnSuspend is called when queue decides to suspend the Task
pkg/queue/task.go:59
↓ 1 callers
Method
Only
Only returns a single Setting entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Setting entity i
ent/setting_query.go:108
↓ 1 callers
Method
Only
Only returns a single StoragePolicy entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one StoragePol
ent/storagepolicy_query.go:205
↓ 1 callers
Method
Only
Only returns a single Group entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Group entity is fo
ent/group_query.go:157
↓ 1 callers
Method
Only
Only returns a single FsEvent entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one FsEvent entity i
ent/fsevent_query.go:132
↓ 1 callers
Method
Only
Only returns a single DavAccount entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one DavAccount en
ent/davaccount_query.go:132
↓ 1 callers
Method
Only
Only returns a single Metadata entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Metadata entity
ent/metadata_query.go:132
↓ 1 callers
Method
Only
Only returns a single OAuthGrant entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one OAuthGrant en
ent/oauthgrant_query.go:156
↓ 1 callers
Method
Only
Only returns a single DirectLink entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one DirectLink en
ent/directlink_query.go:132
↓ 1 callers
Method
Only
Only returns a single Passkey entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Passkey entity i
ent/passkey_query.go:132
↓ 1 callers
Method
Only
Only returns a single Share entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Share entity is fo
ent/share_query.go:157
↓ 1 callers
Method
Only
Only returns a single OAuthClient entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one OAuthClient
ent/oauthclient_query.go:133
↓ 1 callers
Method
Only
Only returns a single Task entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Task entity is foun
ent/task_query.go:132
↓ 1 callers
Method
Only
Only returns a single Entity entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one Entity entity is
ent/entity_query.go:181
↓ 1 callers
Method
Only
Only returns a single File entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one File entity is foun
ent/file_query.go:299
↓ 1 callers
Method
Only
Only returns a single User entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one User entity is foun
ent/user_query.go:325
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Setting ID in the query. Returns a *NotSingularError when more than one Setting ID is found. Returns a *NotF
ent/setting_query.go:135
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Node ID in the query. Returns a *NotSingularError when more than one Node ID is found. Returns a *NotFoundEr
ent/node_query.go:160
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only StoragePolicy ID in the query. Returns a *NotSingularError when more than one StoragePolicy ID is found. Ret
ent/storagepolicy_query.go:232
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Group ID in the query. Returns a *NotSingularError when more than one Group ID is found. Returns a *NotFound
ent/group_query.go:184
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only FsEvent ID in the query. Returns a *NotSingularError when more than one FsEvent ID is found. Returns a *NotF
ent/fsevent_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only DavAccount ID in the query. Returns a *NotSingularError when more than one DavAccount ID is found. Returns a
ent/davaccount_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Metadata ID in the query. Returns a *NotSingularError when more than one Metadata ID is found. Returns a *No
ent/metadata_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only OAuthGrant ID in the query. Returns a *NotSingularError when more than one OAuthGrant ID is found. Returns a
ent/oauthgrant_query.go:183
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only DirectLink ID in the query. Returns a *NotSingularError when more than one DirectLink ID is found. Returns a
ent/directlink_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Passkey ID in the query. Returns a *NotSingularError when more than one Passkey ID is found. Returns a *NotF
ent/passkey_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Share ID in the query. Returns a *NotSingularError when more than one Share ID is found. Returns a *NotFound
ent/share_query.go:184
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only OAuthClient ID in the query. Returns a *NotSingularError when more than one OAuthClient ID is found. Returns
ent/oauthclient_query.go:160
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Task ID in the query. Returns a *NotSingularError when more than one Task ID is found. Returns a *NotFoundEr
ent/task_query.go:159
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only Entity ID in the query. Returns a *NotSingularError when more than one Entity ID is found. Returns a *NotFou
ent/entity_query.go:208
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only File ID in the query. Returns a *NotSingularError when more than one File ID is found. Returns a *NotFoundEr
ent/file_query.go:326
↓ 1 callers
Method
OnlyID
OnlyID is like Only, but returns the only User ID in the query. Returns a *NotSingularError when more than one User ID is found. Returns a *NotFoundEr
ent/user_query.go:352
↓ 1 callers
Function
Open
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it. Optional parameters can b
ent/client.go:163
↓ 1 callers
Method
OptionOverwrite
()
pkg/conf/conf.go:26
↓ 1 callers
Function
Or
Or groups predicates with the OR operator between them.
ent/user/where.go:896
↓ 1 callers
Function
Or
Or groups predicates with the OR operator between them.
ent/entity/where.go:609
↓ 1 callers
Method
OwnerID
OwnerID returns the value of the "owner_id" field in the mutation.
ent/mutation.go:504
↓ 1 callers
Method
OwnerID
OwnerID returns the value of the "owner_id" field in the mutation.
ent/mutation.go:3285
↓ 1 callers
Function
OwnerIDEQ
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
ent/file/where.go:294
↓ 1 callers
Method
OwnerOrErr
OwnerOrErr returns the Owner value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/file.go:77
↓ 1 callers
Method
Panic
Panic 极端错误
pkg/util/logger.go:68
↓ 1 callers
Function
ParamErrorMsg
ParamErrorMsg 根据Validator返回的错误信息给出错误提示
routers/controllers/main.go:13
↓ 1 callers
Function
Password
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
ent/davaccount/where.go:85
↓ 1 callers
Method
Password
Password returns the value of the "password" field in the mutation.
ent/mutation.go:383
↓ 1 callers
Method
Password
Password returns the value of the "password" field in the mutation.
ent/mutation.go:11679
↓ 1 callers
Method
Password
()
pkg/filemanager/fs/uri.go:156
↓ 1 callers
Function
PasswordIsNil
PasswordIsNil applies the IsNil predicate on the "password" field.
ent/share/where.go:284
↓ 1 callers
Method
Patch
(ctx context.Context, proppatches []Proppatch)
pkg/webdav/prop.go:132
↓ 1 callers
Method
PatchProps
PatchProps patches the props of a file.
pkg/filemanager/fs/fs.go:101
↓ 1 callers
Method
PatchView
PatchView patches the view setting of a file
pkg/filemanager/manager/manager.go:81
↓ 1 callers
Function
PathEscape
PathEscape is same as url.PathEscape, with modifications to incoporate with JS encodeURIComponent: encodeURI() escapes all characters except: A–Z a–
pkg/filemanager/fs/uri.go:375
↓ 1 callers
Method
Persist
Save in-memory cache to disk
pkg/cache/driver.go:29
↓ 1 callers
Method
PersistState
PersistState tells navigator to persist the state of the navigator before recycle.
pkg/filemanager/fs/dbfs/navigator.go:49
↓ 1 callers
Method
Persisted
Persisted returns true if the Task is persisted in DB
pkg/queue/task.go:38
↓ 1 callers
Method
PinFile
PinFileService pins new uri to sidebar
service/explorer/pin.go:22
↓ 1 callers
Method
Policies
Policies 列出存储策略
service/admin/policy.go:193
↓ 1 callers
Method
Pop
()
pkg/queue/scheduler.go:118
↓ 1 callers
Method
PostForm
(url string, formValues url.Values)
pkg/recaptcha/recaptcha.go:44
↓ 1 callers
Method
PreValidateUpload
PreValidateUpload pre-validates an upload request.
pkg/filemanager/fs/fs.go:113
↓ 1 callers
Method
PreValidateUpload
PreValidateUpload pre-validates an upload request.
pkg/filemanager/manager/upload.go:42
↓ 1 callers
Method
Prepare
(c *gin.Context)
service/user/login.go:253
↓ 1 callers
Function
PreparePasskeyLogin
(c *gin.Context)
service/user/passkey.go:60
↓ 1 callers
Function
PreparePasskeyRegister
(c *gin.Context)
service/user/passkey.go:159
↓ 1 callers
Method
PrimaryEntity
PrimaryEntity returns the value of the "primary_entity" field in the mutation.
ent/mutation.go:3378
↓ 1 callers
Method
PrintBanner
()
application/application.go:31
↓ 1 callers
Method
Process
Process called by recv routine
pkg/downloader/aria2/rpc/proc.go:32
↓ 1 callers
Function
ProcessCallback
ProcessCallback 处理上传结果回调
service/callback/upload.go:45
↓ 1 callers
Method
Props
Props returns the value of the "props" field in the mutation.
ent/mutation.go:455
↓ 1 callers
Method
Props
Props returns the value of the "props" field in the mutation.
ent/mutation.go:2309
↓ 1 callers
Method
Props
Props returns the value of the "props" field in the mutation.
ent/mutation.go:3532
↓ 1 callers
Method
Props
Props returns the value of the "props" field in the mutation.
ent/mutation.go:8711
↓ 1 callers
Method
Props
Props returns the value of the "props" field in the mutation.
ent/mutation.go:11959
↓ 1 callers
Function
PropsIsNil
PropsIsNil applies the IsNil predicate on the "props" field.
ent/entity/where.go:525
↓ 1 callers
Method
Push
(x any)
pkg/queue/scheduler.go:114
↓ 1 callers
Method
PutContent
(c *gin.Context, ls fs.LockSession)
service/explorer/file.go:311
↓ 1 callers
Method
Query
Query returns a query builder for DavAccount.
ent/client.go:420
↓ 1 callers
Method
Query
Query returns a query builder for DirectLink.
ent/client.go:571
↓ 1 callers
Method
Query
Query returns a query builder for Entity.
ent/client.go:722
↓ 1 callers
Method
Query
Query returns a query builder for FsEvent.
ent/client.go:1167
↓ 1 callers
Method
Query
Query returns a query builder for Group.
ent/client.go:1318
← previous
next →
3,201–3,300 of 11,486, ranked by callers