Documentation
¶
Index ¶
- func ExistingPaths(fsys FS, outDir string) ([]string, error)
- func HasAny(fsys FS, outDir string) (bool, error)
- func PatchesDir(outDir string) string
- func PathFor(outDir, generatedPath string) string
- func Read(fsys FS, outDir, generatedPath string) ([]byte, bool, error)
- func RelPathFor(generatedPath string) string
- type FS
- type PatchFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchesDir ¶
PatchesDir returns the absolute path to the patches directory for the given output dir.
func RelPathFor ¶ added in v2.936.0
RelPathFor returns the patch path for a generated file relative to the output directory, for callers whose file access is already rooted there.
Types ¶
Click to show internal directories.
Click to hide internal directories.