Skip to content

Commit e8dac1d

Browse files
committed
add windows stub
Signed-off-by: leongross <[email protected]>
1 parent ee18198 commit e8dac1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/os/file_windows.go

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ func Pipe() (r *File, w *File, err error) {
5959
return
6060
}
6161

62+
func (f *file) Truncate(size int64) error {
63+
return ErrNotImplemented
64+
}
65+
6266
func tempDir() string {
6367
n := uint32(syscall.MAX_PATH)
6468
for {

0 commit comments

Comments
 (0)