Skip to content

Instantly share code, notes, and snippets.

@mranney
Created March 24, 2010 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mranney/342085 to your computer and use it in GitHub Desktop.
Save mranney/342085 to your computer and use it in GitHub Desktop.
var fs = require('fs'),
sys = require('sys');
fs.stat("/tmp", function(err, stat_data) {
if (err !== null) {
sys.puts(err.stack);
}
else {
sys.puts(sys.inspect(stat_data));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment