8000 fs.copyDirectory · Issue #104 · ayojs/ayo · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

fs.copyDirectory #104

Open
Open

Description

@metabench

I suggested this in node.js, but the response was that it's not going in because it's a convenience function, and platforms lack the API to do this in one go. Does ayo.js value convenience here?

I also recommend an alias of copyFolder.

nodejs/node#15797

Activity

  1. sandfox commented on Oct 12, 2017

    @sandfox

    I'm inclined to echo the sentiments of nodejs here. Ideally core/stdlib or whatever one calls the available functions that ship with ayojs should be as minimal as possible and ideally provide only either what cannot reasonabley be done in userland, or what would provide a substantial building block to allow interoperation between userland modules. Unfortunately I don't think a function like fs.copyFolderwould fit the description.

    In general more the things that can happen in userland the better is it for the ecosystem as change and experimenation can happen much faster there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0