| attributes.js | |
|---|---|
| 'use strict'
var Trait = require('light-traits').Trait
,   all = require('promised-utils').all
,   Q = require('q'), when = Q.when, asap = Q.asap, defer = Q.defer
,   Callback = require('./utils/promised').Callback
exports.FSAttributesTrait = Trait(
{ | |
| returns the size of a file in bytes, or throws an exception if the path does not correspond to an accessible path, or is not a regular file or a link. If path is a link, returns the size of the final link target, rather than the link itself. |   /**
   * @param {String(Promise|Path)|String} path
   * @returns {Promise << Number}
   */
, size: function size(path) {
  } | 
| returns the time that a file was last modified as a Date object. |   /**
   * @param {String(Promise|Path)|String} path
   * @returns {Promise << Date}
   */
, lastModified: function lastModified(path) {
  }
})
 |