mirror of https://github.com/docker/docs.git
Perform chmod before rename with the atomic file writer. Ensure writeErr is set on short write and file is removed on write error. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan) (cherry picked from commit 1cd74902810b0eefddd173239cd95b506b34e678) |
||
|---|---|---|
| .. | ||
| buffer.go | ||
| buffer_test.go | ||
| bytespipe.go | ||
| bytespipe_test.go | ||
| fmt.go | ||
| fmt_test.go | ||
| fswriters.go | ||
| fswriters_test.go | ||
| multireader.go | ||
| multireader_test.go | ||
| readers.go | ||
| readers_test.go | ||
| temp_unix.go | ||
| temp_windows.go | ||
| writeflusher.go | ||
| writers.go | ||
| writers_test.go | ||