MCPcopy Index your code
hub / github.com/filebrowser/filebrowser / Register

Method Register

http/upload_cache_memory.go:19–19  ·  view source on GitHub ↗

Register stores an upload with its expected file size

(filePath string, fileSize int64)

Source from the content-addressed store, hash-verified

17type UploadCache interface {
18 // Register stores an upload with its expected file size
19 Register(filePath string, fileSize int64)
20
21 // Complete removes an upload from the cache
22 Complete(filePath string)

Callers 1

tusPostHandlerFunction · 0.65

Implementers 2

memoryUploadCachehttp/upload_cache_memory.go
redisUploadCachehttp/upload_cache_redis.go

Calls

no outgoing calls

Tested by

no test coverage detected