package
Version:
v1.0.634
Opens a new window with list of versions in this module.
Published: Mar 12, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package utils is for general utility functions
-
func FindFilesByExt(searchDir string, ext string) ([]string, int)
-
func PathAction(s *sls.Sls, path string, action string)
-
func ProcessDir(searchDir string, fileExt string, action string, outputFilePath string, ...) error
-
func SafeWrite(buffer bytes.Buffer, outputFilePath string, err error)
FindFilesByExt recurses through the given searchDir returning a list of files with a given extension and it's length
PathAction applies an action to a YAML path
ProcessDir applies an action concurrently to a directory of files
SafeWrite checks that there is no error prior to trying to write a file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.