MCPcopy Create free account

hub / github.com/cloudreve/cloudreve / functions

Functions11,486 in github.com/cloudreve/cloudreve

↓ 1 callersFunctionparseContentRangeOffset
parseContentRangeOffset parses the start offset from a Content-Range header. Content-Range format: "bytes start-end/total" (e.g., "bytes 100-200/1000"
pkg/filemanager/manager/entitysource/entitysource.go:1066
↓ 1 callersFunctionparseGpsInfo
(imageInfo ImageInfo)
pkg/filemanager/driver/cos/media.go:208
↓ 1 callersFunctionparseGpsInfo
(imageInfo map[string]string)
pkg/filemanager/driver/obs/media.go:64
↓ 1 callersFunctionparseGpsInfo
(imageInfo ImageInfo)
pkg/filemanager/driver/oss/media.go:294
↓ 1 callersFunctionparseGpsInfo
(imageInfo map[string]string)
pkg/filemanager/driver/upyun/media.go:81
↓ 1 callersFunctionparseGpsInfo
(imageInfo ImageInfo)
pkg/filemanager/driver/qiniu/media.go:133
↓ 1 callersFunctionparseNoTagLists
(s string)
pkg/webdav/if.go:40
↓ 1 callersFunctionparseRange
parseRange parses a Range header string as per RFC 7233. errNoOverlap is returned if none of the ranges overlap.
pkg/filemanager/manager/entitysource/entitysource.go:982
↓ 1 callersFunctionparseSearchPageToken
(token string)
pkg/filemanager/fs/dbfs/navigator.go:524
↓ 1 callersFunctionparseTaggedLists
(s string)
pkg/webdav/if.go:54
↓ 1 callersFunctionparseTimeout
parseTimeout parses the Timeout HTTP header, as per section 10.7. If s is empty, an infiniteTimeout is returned.
pkg/webdav/lock.go:421
↓ 1 callersFunctionpatch
Patch patches the properties of resource name. The return values are constrained in the same manner as DeadPropsHolder.Patch.
pkg/webdav/prop.go:440
↓ 1 callersMethodpopElement
Record that we are ending an element with the given name. The name must match the record at the top of the stack, which must be a pushElement record.
pkg/webdav/internal/xml/xml.go:465
↓ 1 callersMethodpopPrefix
popPrefix pops all defined prefixes for the current element.
pkg/webdav/internal/xml/marshal.go:511
↓ 1 callersMethodprefixForNS
(url string, isAttr bool)
pkg/webdav/internal/xml/marshal.go:331
↓ 1 callersMethodprocessBatch
processBatch processes a batch of physical files with a fresh file manager.
pkg/filemanager/workflows/import.go:180
↓ 1 callersMethodprocessBatch
processBatch indexes a batch of files concurrently.
pkg/filemanager/workflows/rebuild_index.go:192
↓ 1 callersMethodprocessImport
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/import.go:123
↓ 1 callersMethodpublishLocked
publishLocked adds an event to the buffer and manages the debounce timer. Caller must hold s.mu.
pkg/filemanager/eventhub/subscriber.go:144
↓ 1 callersMethodpushEOF
Record that after the current element is finished (that element is already pushed on the stack) Token should return EOF until popEOF is called.
pkg/webdav/internal/xml/xml.go:405
↓ 1 callersMethodpushElement
Record that we are starting an element with the given name.
pkg/webdav/internal/xml/xml.go:440
↓ 1 callersFunctionrangesMIMESize
rangesMIMESize returns the number of bytes it takes to encode the provided ranges as a multipart response.
pkg/filemanager/manager/entitysource/entitysource.go:1100
↓ 1 callersMethodreadDir
readDir returns the list of files corresponding to the directory dir.
application/statics/embed.go:281
↓ 1 callersFunctionreadLockInfo
(r io.Reader)
pkg/webdav/xml.go:53
↓ 1 callersFunctionreadPropfind
(r io.Reader)
pkg/webdav/xml.go:179
↓ 1 callersFunctionreadProppatch
(r io.Reader)
pkg/webdav/xml.go:497
↓ 1 callersMethodremove
(id uint64)
pkg/downloader/aria2/rpc/proc.go:25
↓ 1 callersFunctionrenderShareOGPage
(c *gin.Context, dep dependency.Dep, id, password string)
middleware/share_preview.go:129
↓ 1 callersMethodrequestCredFromMaster
(ctx context.Context, key string)
pkg/credmanager/credmanager.go:212
↓ 1 callersMethodrun
(ctx context.Context, t Task)
pkg/queue/queue.go:268
↓ 1 callersMethodrunUnix
(server *http.Server)
application/application.go:225
↓ 1 callersFunctionsaveTaskToInventory
(ctx context.Context, task Task, newStatus task.Status, q *queue)
pkg/queue/task.go:489
↓ 1 callersMethodsearch
(ctx context.Context, parent *File, args *ListArgs)
pkg/filemanager/fs/dbfs/navigator.go:355
↓ 1 callersMethodsearchQuery
(q *ent.FileQuery, args *SearchFileParameters, parents []*ent.File, ownerId int)
inventory/file_utils.go:23
↓ 1 callersMethodsetCurrentVersion
(ctx context.Context, target *File, versionId int)
pkg/filemanager/fs/dbfs/manage.go:785
↓ 1 callersMethodsetNotifier
(ctx context.Context, u url.URL, notifer Notifier)
pkg/downloader/aria2/rpc/call.go:62
↓ 1 callersMethodsetOffline
setOffline marks the subscriber as offline.
pkg/filemanager/eventhub/subscriber.go:255
↓ 1 callersMethodsetOnline
setOnline marks the subscriber as online and flushes any buffered events.
pkg/filemanager/eventhub/subscriber.go:214
↓ 1 callersMethodshouldExpire
shouldExpire returns whether the subscriber should be expired (offline for too long).
pkg/filemanager/eventhub/subscriber.go:308
↓ 1 callersMethodshouldGenerateMediaMeta
(ctx context.Context, d driver.Handler, fileName string)
pkg/filemanager/manager/mediameta.go:167
↓ 1 callersMethodshouldIndexFullText
shouldIndexFullText checks if a file should be indexed for full-text search.
pkg/filemanager/manager/fulltextindex.go:453
↓ 1 callersFunctionshutdown
(sigChan chan os.Signal, logger logging.Logger, server application.Server)
cmd/server.go:50
↓ 1 callersFunctionslaveTaskPropsFromContext
(ctx context.Context)
service/node/task.go:90
↓ 1 callersMethodslaveTransfer
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/remote_download.go:326
↓ 1 callersFunctionsoftDeleteInterceptors
(d interface { P(w interface { WhereP(...func(*sql.Selector)) }) })
ent/schema/common.go:55
↓ 1 callersFunctionsplitByBytes
splitByBytes splits text into chunks at word boundaries, each at most maxBytes bytes.
pkg/searcher/indexer/chunker.go:72
↓ 1 callersMethodsqlAll
(ctx context.Context, hooks ...queryHook)
ent/node_query.go:369
↓ 1 callersMethodsqlAll
(ctx context.Context, hooks ...queryHook)
ent/entity_query.go:441
↓ 1 callersMethodsqlAll
(ctx context.Context, hooks ...queryHook)
ent/file_query.go:619
↓ 1 callersMethodsqlCount
(ctx context.Context)
ent/node_query.go:436
↓ 1 callersMethodsqlScan
(ctx context.Context, root *NodeQuery, v any)
ent/node_query.go:586
↓ 1 callersMethodstart
start to start all worker
pkg/queue/queue.go:381
↓ 1 callersFunctionsumRangesSize
(ranges []httpRange)
pkg/filemanager/manager/entitysource/entitysource.go:1056
↓ 1 callersFunctiontaskWrapper
(name, config string, user *ent.User, dep dependency.Dep, task CronTaskFunc)
pkg/crontab/crontab.go:59
↓ 1 callersMethodtempPath
(ctx context.Context)
pkg/downloader/aria2/aria2.go:277
↓ 1 callersFunctiontestFFProbeGenerator
(ctx context.Context, executable string)
pkg/thumb/tester.go:35
↓ 1 callersFunctiontestFfmpegGenerator
(ctx context.Context, executable string)
pkg/thumb/tester.go:65
↓ 1 callersFunctiontestLibRawGenerator
(ctx context.Context, executable string)
pkg/thumb/tester.go:95
↓ 1 callersFunctiontestLibreOfficeGenerator
(ctx context.Context, executable string)
pkg/thumb/tester.go:80
↓ 1 callersFunctiontestVipsGenerator
(ctx context.Context, executable string)
pkg/thumb/tester.go:50
↓ 1 callersFunctiontoASCIISafeFilename
toASCIISafeFilename converts a filename to ASCII-safe version by replacing non-ASCII characters and special characters with underscores. This is used
pkg/filemanager/manager/entitysource/entitysource.go:187
↓ 1 callersFunctiontrimSlash
trimSlash trims a trailing slash from name, if present, returning the possibly shortened name.
application/statics/embed.go:204
↓ 1 callersMethodunhold
(n *memLSNode)
pkg/filemanager/lock/memlock.go:357
↓ 1 callersFunctionunicode
(s string)
pkg/mediameta/exif.go:624
↓ 1 callersMethodunmarshalAttr
unmarshalAttr unmarshals a single XML attribute into val.
pkg/webdav/internal/xml/read.go:228
↓ 1 callersFunctionunmarshalError
(resp string, err error)
pkg/filemanager/driver/upyun/media.go:77
↓ 1 callersFunctionunmarshalError
(resp string, originErr error)
pkg/filemanager/driver/qiniu/media.go:120
↓ 1 callersMethodunmarshalPath
unmarshalPath walks down an XML structure looking for wanted paths, and calls unmarshal on them. The consumed result tells whether XML elements have b
pkg/webdav/internal/xml/read.go:612
↓ 1 callersFunctionupdateAvatarFile
(ctx context.Context, u *ent.User, contentType string, file io.Reader, avatarSettings *setting.AvatarProcess)
service/user/setting.go:181
↓ 1 callersMethodupdateStateless
similar to Update, but expected to be executed on slave node.
pkg/filemanager/manager/upload.go:400
↓ 1 callersMethoduploadArchive
(ctx context.Context, dep dependency.Dep)
pkg/filemanager/workflows/archive.go:425
↓ 1 callersFunctionuploadCallbackCheck
uploadCallbackCheck 对上传回调请求的 callback key 进行验证,如果成功则返回上传用户
middleware/auth.go:193
↓ 1 callersMethoduploadChunk
(ctx context.Context, sessionID string, index int, chunk io.Reader, overwrite bool, size int64)
pkg/filemanager/driver/remote/client.go:272
↓ 1 callersFunctionutf7dec
utf7dec extracts UTF-16-BE bytes from Base64 data and converts them to UTF-8. A nil slice is returned if the encoding is invalid.
pkg/wopi/utf7.go:460
↓ 1 callersFunctionutf7enc
utf7enc converts string s from UTF-8 to UTF-16-BE, encodes the result as Base64, removes the padding, and adds UTF-7 shifts.
pkg/wopi/utf7.go:406
↓ 1 callersMethodvalidateFiles
(ctx context.Context, dep dependency.Dep, status *downloader.TaskStatus)
pkg/filemanager/workflows/remote_download.go:563
↓ 1 callersFunctionvalidateMagnet
(ctx context.Context, u *url.URL, opt SSRFOptions)
pkg/request/ssrf.go:108
↓ 1 callersMethodwalkNext
(ctx context.Context, root *File, next string, isLeaf bool)
pkg/filemanager/fs/dbfs/navigator.go:177
↓ 1 callersMethodwalkNext
(ctx context.Context, root *File, next string, isLeaf bool)
pkg/filemanager/fs/dbfs/my_navigator.go:132
↓ 1 callersMethodwalkNext
(ctx context.Context, root *File, next string, isLeaf bool)
pkg/filemanager/fs/dbfs/share_navigator.go:220
↓ 1 callersMethodwalkUp
(ctx context.Context, child *File)
pkg/filemanager/fs/dbfs/navigator.go:224
↓ 1 callersFunctionwithDavAccount
withDavAccount sets the old DavAccount of the mutation.
ent/mutation.go:128
↓ 1 callersFunctionwithDavAccountID
withDavAccountID sets the ID field of the mutation.
ent/mutation.go:106
↓ 1 callersFunctionwithDirectLink
withDirectLink sets the old DirectLink of the mutation.
ent/mutation.go:984
↓ 1 callersFunctionwithDirectLinkID
withDirectLinkID sets the ID field of the mutation.
ent/mutation.go:962
↓ 1 callersFunctionwithEntity
withEntity sets the old Entity of the mutation.
ent/mutation.go:1788
↓ 1 callersFunctionwithEntityID
withEntityID sets the ID field of the mutation.
ent/mutation.go:1766
↓ 1 callersFunctionwithFile
withFile sets the old File of the mutation.
ent/mutation.go:3059
↓ 1 callersFunctionwithFileID
withFileID sets the ID field of the mutation.
ent/mutation.go:3037
↓ 1 callersFunctionwithFsEvent
withFsEvent sets the old FsEvent of the mutation.
ent/mutation.go:4671
↓ 1 callersFunctionwithFsEventID
withFsEventID sets the ID field of the mutation.
ent/mutation.go:4649
↓ 1 callersFunctionwithGroup
withGroup sets the old Group of the mutation.
ent/mutation.go:5386
↓ 1 callersFunctionwithGroupID
withGroupID sets the ID field of the mutation.
ent/mutation.go:5364
↓ 1 callersFunctionwithMetadata
withMetadata sets the old Metadata of the mutation.
ent/mutation.go:6458
↓ 1 callersFunctionwithMetadataID
withMetadataID sets the ID field of the mutation.
ent/mutation.go:6436
↓ 1 callersFunctionwithNode
withNode sets the old Node of the mutation.
ent/mutation.go:7194
↓ 1 callersFunctionwithNodeID
withNodeID sets the ID field of the mutation.
ent/mutation.go:7172
↓ 1 callersFunctionwithOAuthClient
withOAuthClient sets the old OAuthClient of the mutation.
ent/mutation.go:8269
↓ 1 callersFunctionwithOAuthClientID
withOAuthClientID sets the ID field of the mutation.
ent/mutation.go:8247
↓ 1 callersFunctionwithOAuthGrant
withOAuthGrant sets the old OAuthGrant of the mutation.
ent/mutation.go:9295
← previousnext →4,401–4,500 of 11,486, ranked by callers