# README
ioutil
Helper functions for I/O, similar to the "ioutil" package. The main change is to wrap I/O errors with stacks.
# Functions
DeserializeFromJSONFile deserializes the given JSON file into the object pointed to by objPtr.
IsExist wraps os.IsExist to work around https://github.com/golang/go/issues/17164 .
IsNotExist is like os.IsNotExist, but handles wrapped errors, too.
Lstat wraps Lstat from "os".
Mkdir wraps MkdirAll from "os".
MkdirAll wraps MkdirAll from "os".
OpenFile wraps OpenFile from "os".
ReadAll wraps ReadAll from "io/ioutil".
ReadDir wraps ReadDir from "io/ioutil".
ReadFile wraps ReadFile from "io/ioutil".
Remove wraps Remove from "os".
RemoveAll wraps RemoveAll from "os".
Rename wraps Rename from "os".
SerializeToJSONFile serializes the given object as JSON and writes it to the given file, making its parent directory first if necessary.
Stat wraps Stat from "os".
TempDir wraps TempDir from "io/ioutil".
WriteFile wraps WriteFile from "io/ioutil".
WriteSerializedFile writes (or overwrites) `data` into `filename`.