kevinburke / go-bindata

A small utility which generates Go code from any file. Useful for embedding binary data in a Go program.
Other
346 stars 28 forks source link

install signal handler and clean up temp files #7

Open kevinburke opened 6 years ago

kevinburke commented 6 years ago

If we send a signal while safefile is in the middle of writing a file to disk, we end up with *.tmp files in the directory which is not good.