class SassC::ImportHandler::FileSystemImporter

def try_path_as_dir(path, from_import)

def try_path_as_dir(path, from_import)
  return unless dir_exist?(path)
  if from_import
    result = exactly_one(try_path_with_ext(File.join(path, 'index.import')))
    return result unless result.nil?
  end
  exactly_one(try_path_with_ext(File.join(path, 'index')))
end