MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / OpenFlushWriter

Method OpenFlushWriter

internal/caches/storage_memory.go:183–185  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

181
182// OpenFlushWriter 打开从其他媒介直接刷入的写入器
183func (this *MemoryStorage) OpenFlushWriter(key string, expiresAt int64, status int, headerSize int, bodySize int64) (Writer, error) {
184 return this.openWriter(key, expiresAt, status, headerSize, bodySize, -1, true)
185}
186
187func (this *MemoryStorage) openWriter(key string, expiresAt int64, status int, headerSize int, bodySize int64, maxSize int64, isDirty bool) (Writer, error) {
188 // 待写入队列是否已满

Callers

nothing calls this directly

Calls 1

openWriterMethod · 0.95

Tested by

no test coverage detected