Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JavaScriptDude/zfslib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ac14ac8
Choose a base ref
...
head repository: JavaScriptDude/zfslib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 758e56a
Choose a head ref
  • 11 commits
  • 3 files changed
  • 3 contributors

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    d7649f5 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Path for zfs diff bug and add move V feature

    zfs diff has an issue that spaces in file names are replaced with \0040. Added patch to correct this condition. Also added feature to have a move flag for diffs (V). By default zfs diff returns R for Rename and Move but new flag on get_diffs allows for distinction between rename (R) and move (V).
    JavaScriptDude authored May 28, 2024
    Configuration menu
    Copy the full SHA
    48f17d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5f1fd5 View commit details
    Browse the repository at this point in the history
  3. New ign_xattrdir flag for get_diffs()

    New ign_xattrdir flag for get_diffs() and fix \\0040 issue for path_new as well as path.
    JavaScriptDude authored May 28, 2024
    Configuration menu
    Copy the full SHA
    1b76992 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2025

  1. Configuration menu
    Copy the full SHA
    d50f547 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from Hooloovoo/patch-1

    Update README.md to change "zfs_prop" to "zfs_props"
    JavaScriptDude authored May 21, 2025
    Configuration menu
    Copy the full SHA
    ab714e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2025

  1. datasets mounted at / returned a snap_path that start with //, fixed

    If a dataset was mounted at /, snapshots of that dataset returned
    a snap_path that starts with //.
    
    By using pathlib to join the paths we make this safer.
    yourfate authored and yourfate committed Oct 23, 2025
    Configuration menu
    Copy the full SHA
    a55b18b View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2025

  1. Merge pull request #9 from yourfate/fix-snap-path-for-root-dataset

    Bugfix: datasets mounted at / returned a snap_path that starts with //, fixed
    JavaScriptDude authored Nov 8, 2025
    Configuration menu
    Copy the full SHA
    f840c0e View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2025

  1. Update path replacement for special characters

    The ZFS path escape sequence \0040 (representing a space character) is not being properly replaced with an actual space in the compiled PyInstaller binary, causing the diff command to fail because it's looking for files with literal \0040 in their names instead of spaces.
    JavaScriptDude authored Dec 21, 2025
    Configuration menu
    Copy the full SHA
    b37990c View commit details
    Browse the repository at this point in the history
  2. Implement octal escape decoding for ZFS paths

    Add function to decode octal escape sequences in ZFS paths for a more holistic fix
    JavaScriptDude authored Dec 21, 2025
    Configuration menu
    Copy the full SHA
    4842c13 View commit details
    Browse the repository at this point in the history
  3. Update decode_octal_escapes to support utf-8 multi-byte

    Fix UTF-8 decoding of ZFS octal escape sequences in file paths
    
    ZFS encodes special characters in paths using octal sequences (e.g., \0040 
    for space). Multi-byte UTF-8 characters like ' (U+2019) are encoded as 
    multiple consecutive sequences (\0342\0200\0231).
    
    Previous implementation decoded each octal sequence individually, breaking 
    UTF-8 multi-byte characters and causing FileNotFoundError when accessing 
    files with characters like fancy quotes, em-dashes, etc.
    
    Updated decode_octal_escapes() to:
    - Buffer consecutive octal sequences before decoding
    - Decode complete UTF-8 byte sequences together
    - Handle invalid sequences with latin-1 fallback
    JavaScriptDude authored Dec 21, 2025
    Configuration menu
    Copy the full SHA
    758e56a View commit details
    Browse the repository at this point in the history
Loading