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

Support attribute enumeration for files and directories #636

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on May 15, 2024

  1. Add lfs_statcfg, lfs_dir_readcfg functions

    Extends regular `lfs_stat` by querying set of attribute at the same time.
    Improves performance of directory listings.
    mikee47 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    29f8d9d View commit details
    Browse the repository at this point in the history
  2. Add lfs_file_getattr, lfs_file_setattr, lfs_file_removeattr

    Supports attribute manipulation on open files.
    Important for updating things like security descriptors, timestamps, etc.
    
    Note: Attempting to remove registered attributes fails.
    This could be handled by marking registered attribute as dirty.
    mikee47 authored and mikee47 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    7d03b27 View commit details
    Browse the repository at this point in the history
  3. Add lfs_file_enumattr() function

    Allows file attributes to be efficiently enumerated,
    required for filesystem backup, etc.
    mikee47 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    926ef52 View commit details
    Browse the repository at this point in the history
  4. Support opening handle to directory

    Allows attributes to be accessed more efficiently, and enumerated
    mikee47 committed May 15, 2024
    Configuration menu
    Copy the full SHA
    a146db8 View commit details
    Browse the repository at this point in the history