class documentation
class TreeBlobNormalizer(BlobNormalizer):
Constructor: TreeBlobNormalizer(config_stack, git_attributes, object_store, tree, ...)
Blob normalizer that tracks existing files in a tree.
| Method | __init__ |
Initialize TreeBlobNormalizer. |
| Method | checkin |
Normalize blob for checkin, considering existing tree state. |
| Instance Variable | existing |
Undocumented |
Inherited from BlobNormalizer:
| Method | checkout |
Normalize a blob during a checkout operation. |
| Instance Variable | fallback |
Undocumented |
| Instance Variable | fallback |
Undocumented |
Inherited from FilterBlobNormalizer (via BlobNormalizer):
| Method | __del__ |
Clean up filter drivers on destruction. |
| Method | close |
Close all filter drivers, ensuring process cleanup. |
| Instance Variable | config |
Undocumented |
| Instance Variable | filter |
Undocumented |
| Instance Variable | filter |
Undocumented |
| Instance Variable | gitattributes |
Undocumented |
| Instance Variable | _owns |
Undocumented |
def __init__(self, config_stack:
StackedConfig, git_attributes: Mapping[ str, Any], object_store: BaseObjectStore, tree: ObjectID | None = None, core_eol: str = 'native', autocrlf: bytes = b'false', safecrlf: bytes = b'false'):
¶
Initialize TreeBlobNormalizer.