Export all fs functions through fs-utils

This commit is contained in:
Kevin Sawicki
2013-09-17 13:49:13 -07:00
parent b84df9ff29
commit 595bd076bf

View File

@@ -6,7 +6,7 @@ async = require 'async'
rimraf = require 'rimraf'
path = require 'path'
module.exports =
fsExtensions =
# Make the given path absolute by resolving it against the
# current working directory.
absolute: (relativePath) ->
@@ -301,3 +301,5 @@ module.exports =
CSON.readFile(objectPath, done)
else
@readPlist(objectPath, done)
module.exports = _.extend(fsExtensions, fs)