Skip to content

Commit

Permalink
add windows stub
Browse files Browse the repository at this point in the history
Signed-off-by: leongross <leon.gross@9elements.com>
  • Loading branch information
leongross committed Apr 5, 2024
1 parent ee18198 commit e8dac1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/os/file_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func Pipe() (r *File, w *File, err error) {
return
}

func (f *file) Truncate(size int64) error {
return ErrNotImplemented
}

func tempDir() string {
n := uint32(syscall.MAX_PATH)
for {
Expand Down

0 comments on commit e8dac1d

Please sign in to comment.