scripts

package
v0.0.0-...-02060f9 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package scripts embeds the canonical install / uninstall shell scripts so that subcommands like `gitmap self-install` can run them offline.

Spec: spec/01-app/90-self-install-uninstall.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() fs.FS

FS returns the embedded read-only filesystem rooted at gitmap/scripts/. Callers should use fs.ReadFile to extract a script's bytes.

func ReadFile

func ReadFile(name string) ([]byte, error)

ReadFile is a convenience wrapper around fs.ReadFile against the embedded scripts directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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