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