lockdown

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldRemoveContent

func ShouldRemoveContent(ctx context.Context, client *githubv4.Client, username, owner, repo string) (bool, error)

ShouldRemoveContent determines if content should be removed based on lockdown mode rules. It checks if the repository is private and if the user has push access to the repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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