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

Use fsinfo for cockpit.file.watch() #20017

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 4, 2024

  1. Use fsinfo for cockpit.file.watch()

    By using the new fsinfo channel fswatch1 can now read the tag without
    reading the file when adding a new watch. As side-effect this no longer
    reads the full file when `{ read: false }` is passed to `watch()`.
    
    Closes: cockpit-project#19983
    
    Co-Authored-By: Allison Karlitskaya <allison.karlitskaya@redhat.com>
    jelly and allisonkarlitskaya committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    54f5866 View commit details
    Browse the repository at this point in the history