code: function calcEtag(stat) {
    return (stat.isFile() ? '': 'W/') + '"' + (stat.ino || 0).toString(36) + "-" + stat.size.toString(36) + "-" + stat.mtime.valueOf().toString(36) + '"';
  }
docs: Calculate a proper etag from a nodefs stat object