Giter Site home page Giter Site logo

Comments (5)

chrispcode avatar chrispcode commented on August 23, 2024 1

Just an opinion, I think what people are looking for is reproducing this behavior:
image

In this kind of API:
image

Or something similar...

from cpy.

IssueHuntBot avatar IssueHuntBot commented on August 23, 2024

@issuehunt has funded $120.00 to this issue.


from cpy.

friendlyanon avatar friendlyanon commented on August 23, 2024

Hello, I'm interested in solving this issue for you, however I would like to inquire about some details to clear a few things up for me.
What would this recursive option do differently than the parent: true option? Omit the leading segments in the destination path? (Is that what #40 is about?)
As far as I can tell doing cpy("b", "a", { parents: true }) on b/c/d.js will result in a/b/c/d.js, since globby does a recursive listing already.
What is a clear example where cpy currently doesn't behave as expected and what would the expected outcome be?
Thank you for your time.

from cpy.

sindresorhus avatar sindresorhus commented on August 23, 2024

The reason there's a fairly large bounty on this issue is that I don't have all the answers. It's up to the submitter to come up with a good solution. Many of the deficiencies of the current behavior is documented in the linked issues.

from cpy.

issuehunt-oss avatar issuehunt-oss commented on August 23, 2024

@sindresorhus has rewarded $108.00 to @idered. See it on IssueHunt

  • 💰 Total deposit: $120.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $12.00

from cpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.