restore

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package restore implements the ctx permission restore subcommand.

It restores file permissions from a previously saved snapshot.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx permission restore" subcommand.

Returns:

  • *cobra.Command: Configured restore subcommand

func Run

func Run(cmd *cobra.Command) error

Run resets settings.local.json from the golden image.

Parameters:

  • cmd: Cobra command for output

Returns:

  • error: Non-nil on read/write/parse failure or missing golden file

Types

This section is empty.

Jump to

Keyboard shortcuts

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