core

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: 0 Imported by: 0

Documentation

Overview

Package core provides shared helpers used by permissions subcommand packages. It owns error constructors and diff logic; subcommands import core, never each other.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffStringSlices

func DiffStringSlices(golden, local []string) (restored, dropped []string)

DiffStringSlices computes the set difference between golden and local slices.

Parameters:

  • golden: Entries from the golden settings file
  • local: Entries from the local settings file

Returns:

  • restored: Entries in golden but not in local
  • dropped: Entries in local but not in golden

Both output slices preserve the source ordering of their respective inputs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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