OpenFlushWriter 打开从其他媒介直接刷入的写入器
(key string, expiresAt int64, status int, headerSize int, bodySize int64)
| 472 | |
| 473 | // OpenFlushWriter 打开从其他媒介直接刷入的写入器 |
| 474 | func (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 | |
| 478 | func (this *FileStorage) openWriter(key string, expiredAt int64, status int, headerSize int, bodySize int64, maxSize int64, isPartial bool, isFlushing bool) (Writer, error) { |
| 479 | // 是否正在退出 |
nothing calls this directly
no test coverage detected