Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Concat ¶
Concat concatenates files matching the given patterns into output.
Patterns use glob syntax with gitignore-style semantics:
- Patterns without `/` match anywhere (e.g., `build` matches `./build` and `./src/build`).
- Leading `/` anchors to root (e.g., `/build` matches only `./build`).
- Trailing `/` means directory (for inclusion: match contents; for exclusion: don't match files of same name).
- Prefix `!` for negation (e.g., `!*.log` excludes log files).
- Last match wins.
func MustConcat ¶
MustConcat calls Concat and panics on error.
Patterns use glob syntax with gitignore-style semantics:
- Patterns without `/` match anywhere (e.g., `build` matches `./build` and `./src/build`).
- Leading `/` anchors to root (e.g., `/build` matches only `./build`).
- Trailing `/` means directory (for inclusion: match contents; for exclusion: don't match files of same name).
- Prefix `!` for negation (e.g., `!*.log` excludes log files).
- Last match wins.
Types ¶
Click to show internal directories.
Click to hide internal directories.