Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(clone): option to not clone buffer, support custom properties #15

Closed
wants to merge 4 commits into from
Closed

feat(clone): option to not clone buffer, support custom properties #15

wants to merge 4 commits into from

Commits on Apr 19, 2014

  1. feat(clone): option to not clone buffer, support custom properties

    option `{ contents: false }` causes the clone to reference-copy buffer contents.
    
    Custom properties that exist in the original file are reference-copied.
    laurelnaiad committed Apr 19, 2014
    Configuration menu
    Copy the full SHA
    806854b View commit details
    Browse the repository at this point in the history
  2. fix(README): document new option contents: false for clone function

    Add documentation for the new `contents: false` option on the `clone` function.
    laurelnaiad committed Apr 19, 2014
    Configuration menu
    Copy the full SHA
    506b008 View commit details
    Browse the repository at this point in the history
  3. fix(clone): deep-clone all properties except contents and stat

    All properties of the original file are deep-cloned into the new file, with the exception of contents and stat, which both require special handling.
    laurelnaiad committed Apr 19, 2014
    Configuration menu
    Copy the full SHA
    1ffedd3 View commit details
    Browse the repository at this point in the history
  4. chore(clone): depend only on lodash.cloneDeep

    Remove full lodash dependency.  Depend only on lodash.cloneDeep.
    laurelnaiad committed Apr 19, 2014
    Configuration menu
    Copy the full SHA
    a3bdce3 View commit details
    Browse the repository at this point in the history