enum Bindgen::FindPath::Kind

Overview

Kinds of file that we can distinguish.

Defined in:

bindgen/find_path/kind.cr

Enum Members

Directory = 0
File = 1
Executable = 2

Instance Method Summary

Instance Method Detail

def directory? #

[View source]
def executable? #

[View source]
def exists?(path : String) : Bool #

Returns true only if path exists and is of kind self.


[View source]
def file? #

[View source]