Commit commits the blob (but no roll-back is guaranteed on an error). size and expected can be zero-value when unknown. Commit always closes the writer, even on error. ErrAlreadyExists aborts the writer.
(ctx context.Context, size int64, expected digest.Digest, opts ...Opt)
| 157 | // Commit always closes the writer, even on error. |
| 158 | // ErrAlreadyExists aborts the writer. |
| 159 | Commit(ctx context.Context, size int64, expected digest.Digest, opts ...Opt) error |
| 160 | |
| 161 | // Status returns the current state of write |
| 162 | Status() (Status, error) |
no outgoing calls