summaryrefslogtreecommitdiffhomepage
path: root/util/sysresources/memory.go
diff options
context:
space:
mode:
Diffstat (limited to 'util/sysresources/memory.go')
-rw-r--r--util/sysresources/memory.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/sysresources/memory.go b/util/sysresources/memory.go
index 7363155cd..8bf784e13 100644
--- a/util/sysresources/memory.go
+++ b/util/sysresources/memory.go
@@ -1,10 +1,10 @@
-// Copyright (c) Tailscale Inc & AUTHORS
-// 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()
-}
+// Copyright (c) Tailscale Inc & AUTHORS
+// 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()
+}