   '.rmd':      true
   '.ron':      true
 
-
-
 isPathValid = (pathToCheck) ->
   pathToCheck? and typeof pathToCheck is 'string' and pathToCheck.length > 0
 

  # Public: Like {.resolve} but uses node's modules paths as the load paths to
  # search.
  resolveOnLoadPath: (args...) ->
    loadPaths = Module.globalPaths.concat(module.paths)
    fsPlus.resolve(loadPaths..., args...)

  # Public: Finds the first file in the given path which matches the extension

  # Returns `true` if case sensitive, `false` otherwise.
  isCaseSensitive: -> not fsPlus.isCaseInsensitive()

statSyncNoException = (args...) ->
  if fs.statSyncNoException
    fs.statSyncNoException(args...)
  else
    try
      fs.statSync(args...)
    catch error
      false

lstatSyncNoException = (args...) ->
  if fs.lstatSyncNoException
    fs.lstatSyncNoException(args...)
  else
    try
      fs.lstatSync(args...)
    catch error
      false

BINARY_EXTENSIONS =
  '.ds_store': true
