diff options
| author | Andrew Lytvynov <awly@tailscale.com> | 2026-04-24 15:56:00 -0700 |
|---|---|---|
| committer | Andrew Lytvynov <awly@tailscale.com> | 2026-04-24 15:57:18 -0700 |
| commit | 00132f2615c9d1f1dab615a85cfa3fe6598f6677 (patch) | |
| tree | b489b4592c775d798a0b4567a2c9a32649406376 /util/sysresources/memory.go | |
| parent | 1b40911611b37947bdc905dec30b2914af540920 (diff) | |
| download | tailscale-awly/deadcode-sysresources.tar.xz tailscale-awly/deadcode-sysresources.zip | |
util/sysresources: remove unused packageawly/deadcode-sysresources
Added a few years ago and appears to be unused.
Updates #cleanup
Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
Diffstat (limited to 'util/sysresources/memory.go')
| -rw-r--r-- | util/sysresources/memory.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/util/sysresources/memory.go b/util/sysresources/memory.go deleted file mode 100644 index 3c6b9ae85..000000000 --- a/util/sysresources/memory.go +++ /dev/null @@ -1,10 +0,0 @@ -// Copyright (c) Tailscale Inc & contributors -// SPDX-License-Identifier: BSD-3-Clause - -package sysresources - -// TotalMemory returns the total accessible system memory, in bytes. If the -// value cannot be determined, then 0 will be returned. -func TotalMemory() uint64 { - return totalMemoryImpl() -} |
