hyperdrive-daemon-client icon indicating copy to clipboard operation
hyperdrive-daemon-client copied to clipboard

createDiffStream stat object is weird

Open pfrazee opened this issue 6 years ago • 0 comments

When I log the .value.stat of an entry emitted by createDiffStream() I get this:

  {
    wrappers_: { '11': [Object] },
    messageId_: undefined,
    arrayIndexOffset_: -1,
    array: [
      33188,
      0,
      0,
      52,
      <3 empty items>,
      1565895724727,
      1565895724727,
      <1 empty item>,
      []
    ],
    pivot_: 1.7976931348623157e+308,
    convertedPrimitiveFields_: {}
  }

I tried wrapping it in the Stat object from hyperdrive-schemas but that didn't seem right (isFile() incorrectly returned false).

pfrazee avatar Aug 16 '19 16:08 pfrazee