notarization

package
v1.260907.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotarizationCommand

func NotarizationCommand() *ffcli.Command

NotarizationCommand returns the notarization command group.

func SetOpenStaplerLexicalDirectoryForTesting added in v1.260907.0

func SetOpenStaplerLexicalDirectoryForTesting(fn func(string) (*os.File, error)) func()

SetOpenStaplerLexicalDirectoryForTesting replaces the rooted directory open used to validate a raw lexical parent before filepath.Clean can erase it. It exists so command-level tests can exercise traversal failures without depending on host permissions or filesystem behavior.

func SetValidateStaplerTargetForTesting added in v1.260907.0

func SetValidateStaplerTargetForTesting(fn func(string) (string, error)) func()

SetValidateStaplerTargetForTesting replaces target validation and returns a restore function. It exists so command-level tests can exercise filesystem failures without depending on host permissions or filesystem behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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