Documentation ¶ Index ¶ func DirsWithFile(root, fileName string, recurse bool) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DirsWithFile ¶ added in v0.8.0 func DirsWithFile(root, fileName string, recurse bool) ([]string, error) DirsWithFile takes the root directory path and returns all the paths of sub-directories(including itself) which contain file with input fileName at top level if recurse is true Types ¶ This section is empty. Source Files ¶ View all Source files pathutil.go Click to show internal directories. Click to hide internal directories.