MCPcopy
hub / github.com/filebrowser/filebrowser / GetLength

Method GetLength

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

GetLength returns the expected file size for an active upload

(filePath string)

Source from the content-addressed store, hash-verified

23
24 // GetLength returns the expected file size for an active upload
25 GetLength(filePath string) (int64, error)
26
27 // Touch refreshes the TTL for an active upload
28 Touch(filePath string)

Callers 3

tusHeadHandlerFunction · 0.65
tusPatchHandlerFunction · 0.65
tusDeleteHandlerFunction · 0.65

Implementers 2

memoryUploadCachehttp/upload_cache_memory.go
redisUploadCachehttp/upload_cache_redis.go

Calls

no outgoing calls

Tested by

no test coverage detected