MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 2 callersFunctionaddFieldInfo
addFieldInfo adds finfo to tinfo.fields if there are no conflicts, or if conflicts arise from previous fields that were obtained from deeper embedded
pkg/webdav/internal/xml/typeinfo.go:275
↓ 2 callersFunctionappendAe
(errs *[][]RecycleError, err error)
pkg/filemanager/manager/recycle.go:376
↓ 2 callersFunctionauthCodeKey
(code string)
service/oauth/response.go:83
↓ 2 callersFunctioncalcExpectedSize
(runeSize int)
pkg/wopi/utf7.go:194
↓ 2 callersFunctioncanSelf
Check if can represent by themselves.
pkg/wopi/utf7.go:385
↓ 2 callersMethodcancelUpload
(path, uploadId string)
pkg/filemanager/driver/cos/cos.go:612
↓ 2 callersMethodcancelUpload
(path string, imur *obs.InitiateMultipartUploadOutput)
pkg/filemanager/driver/obs/obs.go:568
↓ 2 callersMethodcancelUpload
(imur oss.InitiateMultipartUploadResult)
pkg/filemanager/driver/oss/oss.go:643
↓ 2 callersMethodcancelUpload
(upHost, savePath, uploadId, upToken string)
pkg/filemanager/driver/qiniu/qiniu.go:452
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/file_create.go:335
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/entity_create.go:248
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/node_create.go:220
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/fsevent_create.go:169
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/oauthgrant_create.go:170
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/passkey_create.go:167
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/user_create.go:369
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/share_create.go:247
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/davaccount_create.go:166
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/task_create.go:216
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/setting_create.go:142
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/metadata_create.go:164
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/group_create.go:224
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/oauthclient_create.go:219
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/directlink_create.go:152
↓ 2 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/storagepolicy_create.go:325
↓ 2 callersFunctioncheckIPWithAllowlist
(ip net.IP, allowed []*net.IPNet)
pkg/request/ssrf.go:189
↓ 2 callersMethodchildFileQuery
ChildFileQuery generates query for child file(s) of a given set of root
inventory/file_utils.go:118
↓ 2 callersMethodclose
Close completes the marshalling of the multistatus response. It returns an error if the multistatus response could not be completed. If both the retur
pkg/webdav/xml.go:379
↓ 2 callersMethodclose
close permanently closes the subscriber.
pkg/filemanager/eventhub/subscriber.go:277
↓ 2 callersFunctioncollectTrashBin
(ctx context.Context, files []fs.File, dep dependency.Dep, l logging.Logger)
pkg/filemanager/manager/recycle.go:349
↓ 2 callersFunctioncommit
(tx *Tx)
inventory/tx.go:89
↓ 2 callersFunctioncommonContext
(ctx context.Context, settings setting.Provider)
pkg/email/template.go:112
↓ 2 callersMethodcompressFileToArchive
(ctx context.Context, parent string, file fs.File, zipWriter *zip.Writer, compression bool, dryrun fs.CreateA
pkg/filemanager/manager/archive.go:223
↓ 2 callersMethodconfirm
(recaptcha reCHAPTCHARequest, options VerifyOption)
pkg/recaptcha/recaptcha.go:116
↓ 2 callersMethodcontentRange
(size int64)
pkg/filemanager/manager/entitysource/entitysource.go:969
↓ 2 callersFunctioncopyValue
(dst reflect.Value, src []byte)
pkg/webdav/internal/xml/read.go:555
↓ 2 callersMethodcreateNSPrefix
createNSPrefix creates a name space prefix attribute to use for the given name space, defining a new prefix if necessary. If isAttr is true, the prefi
pkg/webdav/internal/xml/marshal.go:403
↓ 2 callersMethodcreateSpec
()
ent/file_create.go:381
↓ 2 callersMethodcreateSpec
()
ent/entity_create.go:294
↓ 2 callersMethodcreateSpec
()
ent/node_create.go:273
↓ 2 callersMethodcreateSpec
()
ent/fsevent_create.go:203
↓ 2 callersMethodcreateSpec
()
ent/oauthgrant_create.go:213
↓ 2 callersMethodcreateSpec
()
ent/passkey_create.go:210
↓ 2 callersMethodcreateSpec
()
ent/user_create.go:430
↓ 2 callersMethodcreateSpec
()
ent/share_create.go:281
↓ 2 callersMethodcreateSpec
()
ent/davaccount_create.go:212
↓ 2 callersMethodcreateSpec
()
ent/task_create.go:258
↓ 2 callersMethodcreateSpec
()
ent/setting_create.go:173
↓ 2 callersMethodcreateSpec
()
ent/metadata_create.go:207
↓ 2 callersMethodcreateSpec
()
ent/group_create.go:258
↓ 2 callersMethodcreateSpec
()
ent/oauthclient_create.go:288
↓ 2 callersMethodcreateSpec
()
ent/directlink_create.go:195
↓ 2 callersMethodcreateSpec
()
ent/storagepolicy_create.go:359
↓ 2 callersMethoddecode
(reply interface{})
pkg/downloader/aria2/rpc/json2.go:60
↓ 2 callersFunctiondecryptEntityKeyIfNeeded
(masterKey []byte, entity *ent.Entity)
pkg/filemanager/workflows/archive.go:692
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/file_create.go:308
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/entity_create.go:225
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/node_create.go:193
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/fsevent_create.go:150
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/oauthgrant_create.go:147
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/passkey_create.go:148
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/user_create.go:338
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/share_create.go:220
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/davaccount_create.go:147
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/task_create.go:193
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/setting_create.go:123
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/metadata_create.go:141
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/group_create.go:201
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/oauthclient_create.go:184
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/directlink_create.go:133
↓ 2 callersMethoddefaults
defaults sets the default values of the builder before save.
ent/storagepolicy_create.go:302
↓ 2 callersMethoddeleteEntity
(ctx context.Context, target *File, entityId int)
pkg/filemanager/fs/dbfs/manage.go:757
↓ 2 callersFunctiondeserializer
(value []byte)
pkg/cache/redis.go:37
↓ 2 callersFunctiondisableThumb
(ctx context.Context, m *manager, uri *fs.URI)
pkg/filemanager/manager/thumbnail.go:288
↓ 2 callersMethodemitFileDeleted
(ctx context.Context, files ...*File)
pkg/filemanager/fs/dbfs/events.go:51
↓ 2 callersFunctionentityUrlCacheKey
(id int, speed int64, displayName string, download bool, siteUrl string)
pkg/filemanager/manager/entity.go:405
↓ 2 callersFunctionescape
(s string)
pkg/webdav/xml.go:105
↓ 2 callersFunctionescapeText
escapeText writes to w the properly escaped XML equivalent of the plain text data s. If escapeNewline is true, newline characters will be escaped.
pkg/webdav/internal/xml/xml.go:1883
↓ 2 callersFunctionetagStrongMatch
etagStrongMatch reports whether a and b match using strong ETag comparison. Assumes a and b are valid ETags.
pkg/filemanager/manager/entitysource/entitysource.go:888
↓ 2 callersFunctionexpireTimeToTTL
(expireAt *time.Time)
pkg/filemanager/manager/operation.go:354
↓ 2 callersMethodextractIMMMeta
(ctx context.Context, path, category string)
pkg/filemanager/driver/oss/media.go:155
↓ 2 callersMethodextractMediaInfo
extractMediaInfo Sends API calls to COS service to extract media info.
pkg/filemanager/driver/cos/media.go:185
↓ 2 callersMethodextractMediaInfo
extractMediaInfo Sends API calls to OSS IMM service to extract media info.
pkg/filemanager/driver/oss/media.go:268
↓ 2 callersMethodextractMediaInfo
(ctx context.Context, path string, param string)
pkg/filemanager/driver/qiniu/media.go:104
↓ 2 callersMethodgetDecryptedRsc
(rsc io.ReadCloser, pos int64)
pkg/filemanager/manager/entitysource/entitysource.go:751
↓ 2 callersFunctiongetDefaultView
()
pkg/filemanager/fs/dbfs/file.go:35
↓ 2 callersFunctiongetOAuthEndpoint
getOAuthEndpoint gets OAuth endpoints from API endpoint
pkg/filemanager/driver/onedrive/oauth.go:47
↓ 2 callersMethodgetRsc
(pos int64)
pkg/filemanager/manager/entitysource/entitysource.go:684
↓ 2 callersFunctiongetShareOrderOption
(args *ListShareArgs)
inventory/share.go:407
↓ 2 callersFunctiongetTypeInfo
getTypeInfo returns the typeInfo structure with details necessary for marshalling and unmarshalling typ.
pkg/webdav/internal/xml/typeinfo.go:51
↓ 2 callersFunctiongetUploadUrl
(upHost, bucket, key, uploadId string)
pkg/filemanager/driver/qiniu/qiniu.go:462
↓ 2 callersMethodhashUserState
hashUserState returns a hash string for user state for critical fields, it is used to detect refresh token revocation after user changed password.
pkg/auth/jwt.go:295
↓ 2 callersMethodhold
(n *memLSNode)
pkg/webdav/lock.go:212
↓ 2 callersMethodindexableFilesQuery
()
inventory/file.go:345
↓ 2 callersFunctioninitCORS
initCORS 初始化跨域配置
routers/router.go:181
↓ 2 callersMethodinitCipherStream
initCipherStream initializes the cipher stream with proper counter alignment for the given absolute byte position.
pkg/filemanager/encrypt/aes256ctr.go:303
↓ 2 callersFunctioninitSlaveFileRouter
(v4 *gin.RouterGroup)
routers/router.go:55
↓ 2 callersMethodinsertEntity
(tx *ent.Tx, source string, entityType, policyID, createdBy int, size int64)
application/migrator/file.go:160
↓ 2 callersFunctionisEmptyValue
(v reflect.Value)
pkg/webdav/internal/xml/marshal.go:1207
↓ 2 callersFunctionisFileInMask
(path string, mask []string)
pkg/filemanager/workflows/extract.go:835
← previousnext →1,801–1,900 of 11,486, ranked by callers