Help us shape the future of Go! Take the 2026 Go Developer Survey

appdir

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package appdir names the directory ohmyssh keeps its files in.

It exists so that the saved passwords, the hosts added from the browser and anything else ohmyssh writes down live in one place that is defined once. The arrangement is the same on every system ohmyssh builds for: a dot directory in the home directory os.UserHomeDir reports, which is %USERPROFILE% on Windows and $HOME elsewhere.

Index

Constants

View Source
const Name = ".ohmyssh"

Name is the directory, under the user's home directory.

Variables

This section is empty.

Functions

func Dir

func Dir() (string, error)

Dir is the directory ohmyssh keeps this user's files in. It is reported whether or not it exists; the files under it are created by whoever writes them, at the mode that suits them.

func Path

func Path(name string) (string, error)

Path is the path of one of ohmyssh's files, by name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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