MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / OpenFlushWriter

Method OpenFlushWriter

internal/caches/storage_file.go:474–476  ·  view source on GitHub ↗

OpenFlushWriter 打开从其他媒介直接刷入的写入器

(key string, expiresAt int64, status int, headerSize int, bodySize int64)

Source from the content-addressed store, hash-verified

472
473// OpenFlushWriter 打开从其他媒介直接刷入的写入器
474func (this *FileStorage) OpenFlushWriter(key string, expiresAt int64, status int, headerSize int, bodySize int64) (Writer, error) {
475 return this.openWriter(key, expiresAt, status, headerSize, bodySize, -1, false, true)
476}
477
478func (this *FileStorage) openWriter(key string, expiredAt int64, status int, headerSize int, bodySize int64, maxSize int64, isPartial bool, isFlushing bool) (Writer, error) {
479 // 是否正在退出

Callers

nothing calls this directly

Calls 1

openWriterMethod · 0.95

Tested by

no test coverage detected