Versions in this module Expand all Collapse all v0 v0.1.0 Jun 4, 2018 Changes in this version + var ErrExceedLimit = errors.New("write exceed limit") + func FileExists(name string) bool + func WriteFileAtomic(filename string, data []byte, perm os.FileMode) error + type SectionWriter struct + func NewSectionWriter(w io.WriterAt, off int64, n int64) *SectionWriter + func (s *SectionWriter) Seek(offset int64, whence int) (int64, error) + func (s *SectionWriter) Size() int64 + func (s *SectionWriter) Write(p []byte) (n int, err error) + func (s *SectionWriter) WriteAt(p []byte, off int64) (n int, err error)