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.
Click to show internal directories.
Click to hide internal directories.