Skip to content

Conversation

zhangfengcdt
Copy link
Owner

  1. KvDiff - Represents a difference for a specific key, with properties:
    - key: The key that changed (bytes)
    - operation: A DiffOperation object describing the change
  2. DiffOperation - Represents the type of change, with properties:
    - operation_type: String ("Added", "Removed", or "Modified")
    - value: For Added/Removed operations (bytes or None)
    - old_value: For Modified operations (bytes or None)
    - new_value: For Modified operations (bytes or None)

Other Functions Not Yet Exposed:

I also identified these functions that haven't been exposed to Python yet:

  • get_commits(key) - Get all commits that modified a specific key
  • tree() and tree_mut() - Direct access to underlying ProllyTree
  • git_repo() - Access to the underlying git repository

@zhangfengcdt zhangfengcdt merged commit 025e4e7 into main Sep 1, 2025
5 checks passed
@zhangfengcdt zhangfengcdt deleted the feature/versioned.kv.diff branch September 1, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant