class Bindgen::FindPath::ShellChecker

Overview

Checker for a ShellCheck.

Defined in:

bindgen/find_path/shell_checker.cr

Constructors

Instance Method Summary

Instance methods inherited from class Bindgen::FindPath::Checker

check(path : String) : Bool check

Constructor methods inherited from class Bindgen::FindPath::Checker

create(config, is_file) : Checker create

Constructor Detail

def self.new(config : ShellCheck) #

[View source]

Instance Method Detail

def check(path : String) : Bool #

Checks path by calling out to the configured shell command, expanding path into it. STDOUT is hidden, but STDERR is shown. Only succeeds if the command returned exit code 0.


[View source]