module Sprockets::PathUtils

def stat(path)

Returns nil if the file does not exist.

path - String file or directory path

Public: Like `File.stat`.
def stat(path)
  if File.exist?(path)
    File.stat(path.to_s)
  else
    nil
  end
end