diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-02-06 10:29:46 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-02-10 11:56:20 +0000 |
| commit | 43f51a00700e5960fc890e6c3d596846757bf29d (patch) | |
| tree | dee3d11120b60aa848b1f1d73d5066c8d5dd9c7c /pkg/osutil/osutil_windows.go | |
| parent | 529cb927961356394978d77470022859e718c44a (diff) | |
all: delete dead code
go install golang.org/x/tools/cmd/deadcode@latest
deadcode -test ./...
Diffstat (limited to 'pkg/osutil/osutil_windows.go')
| -rw-r--r-- | pkg/osutil/osutil_windows.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/osutil/osutil_windows.go b/pkg/osutil/osutil_windows.go index c5763b677..03e729e83 100644 --- a/pkg/osutil/osutil_windows.go +++ b/pkg/osutil/osutil_windows.go @@ -4,7 +4,6 @@ package osutil import ( - "fmt" "os" "os/exec" "syscall" @@ -29,14 +28,6 @@ func SystemMemorySize() uint64 { func prolongPipe(r, w *os.File) { } -func CreateMemMappedFile(size int) (f *os.File, mem []byte, err error) { - return nil, nil, fmt.Errorf("CreateMemMappedFile is not implemented") -} - -func CloseMemMappedFile(f *os.File, mem []byte) error { - return fmt.Errorf("CloseMemMappedFile is not implemented") -} - func ProcessExitStatus(ps *os.ProcessState) int { return ps.Sys().(syscall.WaitStatus).ExitStatus() } |
