package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 24, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package restore implements the ctx permission restore subcommand.
It restores file permissions from a previously saved snapshot.
Cmd returns the "ctx permission restore" subcommand.
Returns:
- *cobra.Command: Configured restore subcommand
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.