module
Crystallabs::Helpers::Files
Overview
Filesystem helpers.
Defined in:
crystallabs-helpers.crClass Method Summary
-
.find_file(start : String, target : String) : String | Nil
Finds a file with name target inside toplevel directory start, depth-first, skipping the virtual/system trees.
Class Method Detail
def self.find_file(start : String, target : String) : String | Nil
#
Finds a file with name target inside toplevel directory start,
depth-first, skipping the virtual/system trees. Returns the full path or
nil. Unreadable directories and vanished entries are skipped, and a
symlinked directory is not descended into (no cycle risk).