module documentation
Git notes handling.
| Class | |
High-level interface for Git notes operations. |
| Class | |
Represents a Git notes tree. |
| Function | create |
Create an empty notes tree. |
| Function | get |
Determine the fanout level for a note tree. |
| Function | get |
Get the path within the notes tree for a given object. |
| Function | split |
Split a hex SHA into path components based on fanout level. |
| Constant | DEFAULT |
Undocumented |
| Constant | NOTES |
Undocumented |
Create an empty notes tree.
| Parameters | |
objectBaseObjectStore | Object store to add the tree to |
| Returns | |
Tree | Empty tree object |
Determine the fanout level for a note tree.
Git uses a fanout directory structure for performance with large numbers of notes. The fanout level determines how many levels of subdirectories are used.
| Parameters | |
tree:Tree | The notes tree to analyze |
objectBaseObjectStore | Object store to retrieve subtrees |
| Returns | |
int | Fanout level (0 for no fanout, 1 or 2 for fanout) |