files

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package files contains small utilities for file operations used across the codebase, keeping IO details out of higher-level packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIgnore

func AppendIgnore(repoRoot, pattern string) error

AppendIgnore ensures the given pattern is present in .gitignore at repoRoot. It creates the file if missing and appends a newline if needed. Idempotent.

func DefaultGeneratedIgnores

func DefaultGeneratedIgnores() []string

DefaultGeneratedIgnores returns common generated patterns that are safe to ignore.

Types

This section is empty.

Jump to

Keyboard shortcuts

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