src-d / go-billy

The missing interface filesystem abstraction for Go
https://godoc.org/gopkg.in/src-d/go-billy.v4
Apache License 2.0
199 stars 43 forks source link

fs: add `Truncate` method to `File` interface #48

Closed strib closed 6 years ago

strib commented 6 years ago

cc: @mcuadros -- we needed this for the fast-forward fetch implementation.

This code is written by @taruti.