Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 3ff2cbc892ce
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: 7ca77eaf38cb
Choose a head ref
  • 2 commits
  • 5 files changed
  • 1 contributor

Commits on Jul 30, 2013

  1. string_bytes: export GetExternalParts

    The method is useful elsewhere when needing to check if external and
    grab data.
    trevnorris committed Jul 30, 2013
    Copy the full SHA
    63fc6a6 View commit details
    Browse the repository at this point in the history
  2. fs: write strings directly to disk

    Prior, strings would first be converted to a Buffer before being written
    to disk. Now the intermediary step has been removed.
    
    Other changes of note:
    
    * Class member "must_free" was added to req_wrap so to track if the
      memory needs to be manually cleaned up after use.
    * External String Resource support, so the memory will be used directly
      instead of copying out the data.
    * Docs have been updated to reflect that if position is not a number
      then it will assume null. Previously it specified the argument must be
      null, but that was not how the code worked. An attempt was made to
      only support == null, but there were too many tests that assumed !=
      number would be enough.
    * Docs update show some of the write/writeSync arguments are optional.
    trevnorris committed Jul 30, 2013
    Copy the full SHA
    7ca77ea View commit details
    Browse the repository at this point in the history