MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

MethodStoragePolicyID
StoragePolicyID returns the "storage_policy" edge ID in the mutation.
ent/mutation.go:2463
FunctionStoragePolicyIDEQ
StoragePolicyIDEQ applies the EQ predicate on the "storage_policy_id" field.
ent/group/where.go:445
FunctionStoragePolicyIDIn
StoragePolicyIDIn applies the In predicate on the "storage_policy_id" field.
ent/group/where.go:455
FunctionStoragePolicyIDIsNil
StoragePolicyIDIsNil applies the IsNil predicate on the "storage_policy_id" field.
ent/group/where.go:465
FunctionStoragePolicyIDNEQ
StoragePolicyIDNEQ applies the NEQ predicate on the "storage_policy_id" field.
ent/group/where.go:450
FunctionStoragePolicyIDNotIn
StoragePolicyIDNotIn applies the NotIn predicate on the "storage_policy_id" field.
ent/group/where.go:460
FunctionStoragePolicyIDNotNil
StoragePolicyIDNotNil applies the NotNil predicate on the "storage_policy_id" field.
ent/group/where.go:470
MethodStoragePolicyIDs
StoragePolicyIDs returns the "storage_policy" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should us
ent/mutation.go:2473
MethodStoragePolicyOrErr
StoragePolicyOrErr returns the StoragePolicy value or an error if the edge was not loaded in eager-loading.
ent/node.go:62
MethodStoragePolicyOrErr
StoragePolicyOrErr returns the StoragePolicy value or an error if the edge was not loaded in eager-loading, or loaded but was not found.
ent/entity.go:90
MethodString
String implements the fmt.Stringer.
ent/oauthgrant.go:200
MethodString
String implements the fmt.Stringer.
ent/file.go:335
MethodString
String implements the fmt.Stringer.
ent/share.go:240
MethodString
String implements the fmt.Stringer.
ent/oauthclient.go:214
MethodString
String implements the fmt.Stringer.
ent/node.go:211
MethodString
String implements the fmt.Stringer.
ent/metadata.go:177
MethodString
String implements the fmt.Stringer.
ent/group.go:216
MethodString
String implements the fmt.Stringer.
ent/passkey.go:190
MethodString
String implements the fmt.Stringer.
ent/storagepolicy.go:295
MethodString
String implements the fmt.Stringer.
ent/fsevent.go:170
MethodString
String implements the fmt.Stringer.
ent/setting.go:128
MethodString
String implements the fmt.Stringer.
ent/directlink.go:175
MethodString
String implements the fmt.Stringer.
ent/task.go:200
MethodString
String implements the fmt.Stringer.
ent/davaccount.go:200
MethodString
String implements the fmt.Stringer.
ent/entity.go:254
MethodString
String implements the fmt.Stringer.
ent/user.go:349
MethodString
()
ent/user/user.go:194
MethodString
()
ent/task/task.go:106
MethodString
()
ent/node/node.go:110
MethodString
()
ent/node/node.go:133
MethodString
()
pkg/boolset/boolset.go:37
MethodString
()
pkg/credmanager/credmanager.go:176
MethodString
()
pkg/filemanager/driver/onedrive/oauth.go:137
MethodStringX
StringX is like String, but panics if an error occurs.
ent/ent.go:372
MethodStringsX
StringsX is like Strings, but panics if an error occurs.
ent/ent.go:346
MethodSubmittedTasks
()
pkg/queue/metric.go:12
MethodSubmittedTasks
()
pkg/queue/metric.go:65
MethodSubmittedTasks
BusyWorkers returns the numbers of submitted tasks.
pkg/queue/queue.go:174
MethodSubscribe
(ctx context.Context, topic int, id string)
pkg/filemanager/eventhub/eventhub.go:115
FunctionSubscriberEQ
SubscriberEQ applies the EQ predicate on the "subscriber" field.
ent/fsevent/where.go:285
FunctionSubscriberGT
SubscriberGT applies the GT predicate on the "subscriber" field.
ent/fsevent/where.go:305
FunctionSubscriberGTE
SubscriberGTE applies the GTE predicate on the "subscriber" field.
ent/fsevent/where.go:310
FunctionSubscriberIn
SubscriberIn applies the In predicate on the "subscriber" field.
ent/fsevent/where.go:295
FunctionSubscriberLT
SubscriberLT applies the LT predicate on the "subscriber" field.
ent/fsevent/where.go:315
FunctionSubscriberLTE
SubscriberLTE applies the LTE predicate on the "subscriber" field.
ent/fsevent/where.go:320
FunctionSubscriberNEQ
SubscriberNEQ applies the NEQ predicate on the "subscriber" field.
ent/fsevent/where.go:290
FunctionSubscriberNotIn
SubscriberNotIn applies the NotIn predicate on the "subscriber" field.
ent/fsevent/where.go:300
MethodSuccessTasks
()
pkg/queue/metric.go:10
MethodSuccessTasks
()
pkg/queue/metric.go:57
MethodSuccessTasks
BusyWorkers returns the numbers of success tasks.
pkg/queue/queue.go:164
MethodSummarize
(hasher hashid.Encoder)
pkg/queue/task.go:362
MethodSummarize
(hasher hashid.Encoder)
pkg/filemanager/workflows/archive.go:498
MethodSummarize
(hasher hashid.Encoder)
pkg/filemanager/workflows/extract.go:510
MethodSummarize
(hasher hashid.Encoder)
pkg/filemanager/workflows/import.go:219
MethodSummarize
(hasher hashid.Encoder)
pkg/filemanager/workflows/remote_download.go:629
MethodSummarize
(hasher hashid.Encoder)
pkg/filemanager/workflows/rebuild_index.go:297
MethodSupportColor
()
pkg/logging/logger.go:157
MethodSuspendingTasks
()
pkg/queue/metric.go:69
MethodSuspendingTasks
SuspendingTasks returns the numbers of suspending tasks.
pkg/queue/queue.go:179
MethodSwap
(i, j int)
pkg/thumb/pipeline.go:61
MethodSwap
(i, j int)
pkg/queue/scheduler.go:110
MethodSwap
(i, j int)
pkg/webdav/lock.go:396
MethodSwap
(i, j int)
pkg/filemanager/lock/memlock.go:426
MethodSys
()
application/statics/embed.go:236
MethodSystem
()
pkg/conf/conf.go:107
MethodTakeBySubscriber
(ctx context.Context, subscriberId uuid.UUID, userId int)
inventory/fs_event.go:68
MethodTasksOrErr
TasksOrErr returns the Tasks value or an error if the edge was not loaded in eager-loading.
ent/user.go:129
MethodTcCaptcha
TcCaptcha returns the Tencent Cloud Captcha settings.
pkg/setting/provider.go:40
MethodTcCaptcha
(ctx context.Context)
pkg/setting/provider.go:810
MethodTellActive
(keys ...string)
pkg/downloader/aria2/rpc/proto.go:21
MethodTellActive
`aria2.tellActive([secret][, keys])` This method returns a list of active downloads. The response is an array of the same structs as returned by the a
pkg/downloader/aria2/rpc/client.go:331
MethodTellStatus
`aria2.tellStatus([secret, ]gid[, keys])` This method returns the progress of the download denoted by gid (string). keys is an array of strings. If sp
pkg/downloader/aria2/rpc/client.go:255
MethodTellStopped
(offset, num int, keys ...string)
pkg/downloader/aria2/rpc/proto.go:23
MethodTellStopped
`aria2.tellStopped([secret, ]offset, num[, keys])` This method returns a list of stopped downloads. offset is an integer and specifies the offset from
pkg/downloader/aria2/rpc/client.go:377
MethodTellWaiting
(offset, num int, keys ...string)
pkg/downloader/aria2/rpc/proto.go:22
MethodTellWaiting
`aria2.tellWaiting([secret, ]offset, num[, keys])` This method returns a list of waiting downloads, including paused ones. offset is an integer and sp
pkg/downloader/aria2/rpc/client.go:356
MethodTempPath
(ctx context.Context)
pkg/setting/provider.go:557
MethodTest
(c *gin.Context)
service/admin/tools.go:137
MethodTest
Test 通过获取生成器版本来测试
service/admin/site.go:177
MethodTest
(c *gin.Context)
service/admin/node.go:81
MethodTest
(c *gin.Context)
service/admin/node.go:129
MethodTest
Test 从机响应ping
service/admin/policy.go:104
MethodTest
Test 测试从机通信
service/admin/policy.go:136
MethodTest
Test 测试本地路径
service/admin/policy.go:173
MethodTest
(ctx context.Context)
pkg/downloader/aria2/aria2.go:259
MethodTest
(ctx context.Context)
pkg/downloader/slave/slave.go:170
MethodTest
(ctx context.Context)
pkg/downloader/qbittorrent/qbittorrent.go:327
FunctionTestBlackHole
(t *testing.T)
pkg/request/request_test.go:231
FunctionTestBuildConcat
(t *testing.T)
pkg/util/common_test.go:66
FunctionTestBuildLogger
(t *testing.T)
pkg/util/logger_test.go:10
FunctionTestBuildRegexp
(t *testing.T)
pkg/util/common_test.go:59
FunctionTestChunkText_DefaultMaxBytes
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:53
FunctionTestChunkText_Empty
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:10
FunctionTestChunkText_EmptyParagraphsIgnored
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:58
FunctionTestChunkText_JoinerAccountedInLimit
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:73
FunctionTestChunkText_LargeParagraphSplit
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:38
FunctionTestChunkText_MultipleParagraphsCombined
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:20
FunctionTestChunkText_ParagraphKeptWhole
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:65
FunctionTestChunkText_SingleSmallParagraph
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:15
FunctionTestChunkText_SplitOnParagraphBoundary
(t *testing.T)
pkg/searcher/indexer/chunker_test.go:28
← previousnext →9,901–10,000 of 11,486, ranked by callers