Giter Club home page Giter Club logo

Comments (4)

nathany avatar nathany commented on September 13, 2024

@aktau I haven't looked into this too much yet. On Linux there is a "cookie" used to tie the RENAME FROM and TO events together, but this isn't currently exposed by fsnotify. I still need to do more research across each platform.

Also, please see #101.

from fsnotify.

aktau avatar aktau commented on September 13, 2024

@aktau I haven't looked into this too much yet. On Linux there is a "cookie" used to tie the RENAME FROM and TO events together, but this isn't currently exposed by fsnotify. I still need to do more research across each platform.

It would be amazing if this could be done in a cross-platform fashion. I know it's not easy though. I've been watching your work (and of course of all other contributors) and I'd just like to say thanks! So I take it that my way is currently the only viable way to reliably detect renames in a folder structure with fsevents?

Also, please see #101.

In fact, I'm using the github.com/fsnotify/fsnotify package, I wasn't sure where to post though. For now, they seem to be equivalent in capabilities but a bit different in API.

from fsnotify.

nathany avatar nathany commented on September 13, 2024

Yes, they are fairly similar. I've taken the liberty of removing some (buggy) features, but little has been added. The API isn't final, but it is based on discussions with Go core team members (rsc, minux).

If you would like to open an issue to improve the Rename Op, I would be grateful:
https://github.com/fsnotify/fsnotify/issues/new

from fsnotify.

aktau avatar aktau commented on September 13, 2024

Done, thanks: fsnotify/fsnotify#26

from fsnotify.

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.