code: function matchBodyHash (stream, line) {
    if (isEmpty(line)) {
      return null
    }
    const match = line.match(BODY_HASH)
    if (match) {
      return {
        hash: match.groups.hash,
        size: Number.parseInt(match.groups.size),
        file: normalizePath(match.groups.file)
      }
    }
    return null
  }
docs: Hash command outputs body as a hash-size-filename trio. Some data can be empty. E.g.: - hash with all info: `hebdf6      43      hashed/file.txt` - hash with some info: `hebdf6              hashed/file.txt` - hash for directories: `                    hashed/file.txt`