Documentation ¶ Overview ¶ Package scan inspects a repository working tree. Index ¶ func HasExt(root string, exts ...string) (bool, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HasExt ¶ func HasExt(root string, exts ...string) (bool, error) HasExt reports whether root contains at least one file whose extension (including the leading dot, e.g. ".go") is in exts, skipping vendored and VCS directories. Stops at the first match. Types ¶ This section is empty. Source Files ¶ View all Source files scan.go Click to show internal directories. Click to hide internal directories.