Git Product home page Git Product logo

Comments (6)

sebnilsson avatar sebnilsson commented on July 18, 2024 1

That's what I started building yesterday 😃 Maybe I can test it and get it out today.

from dotnetcleanup.

sebnilsson avatar sebnilsson commented on July 18, 2024 1

Version 0.6.0 has been deployed to Nuget:
https://www.nuget.org/packages/dotnet-cleanup/0.6.0

It could be awaiting package validation and indexing at this very moment, but should be public soon.

from dotnetcleanup.

sebnilsson avatar sebnilsson commented on July 18, 2024

Thank you for bringing this up, @amis92. Could you provide the full stack-trace of the error and I can look into how to maybe solve it or at least have a more user-friendly UX?

from dotnetcleanup.

amis92 avatar amis92 commented on July 18, 2024

I could, but a bit later. However, the solution is given in Stack Overflow linked: if the volumes differ (of the cleanupPath and movePath), you can't use Move at all. Either copy-remove the directory, just remove the directory, or throw a (more?) friendly error message.

I'd honestly prefer any solution that doesn't throw. A warning, maybe.

from dotnetcleanup.

sebnilsson avatar sebnilsson commented on July 18, 2024

Half the point of the tool is that it moves the files before deleting them, letting you move on with your work. I'll come up with a solution to work around it :)

from dotnetcleanup.

amis92 avatar amis92 commented on July 18, 2024

Then I'd suggest a temporary folder somewhere nearby target folder, on the same volume. It's deleted in the end anyway, right?

from dotnetcleanup.

Related Issues (5)

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.