paths

package
v1.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 6 Imported by: 31

Documentation

Overview

Package paths returns platform and user-specific default paths to Tailscale files and directories.

Index

Constants

This section is empty.

Variables

View Source
var AppSharedDir atomic.Value

AppSharedDir is a string set by the iOS or Android app on start containing a directory we can read/write in.

Functions

func DefaultTailscaledSocket

func DefaultTailscaledSocket() string

DefaultTailscaledSocket returns the path to the tailscaled Unix socket or the empty string if there's no reasonable default.

func DefaultTailscaledStateFile

func DefaultTailscaledStateFile() string

DefaultTailscaledStateFile returns the default path to the tailscaled state file, or the empty string if there's no reasonable default value.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL