class documentation

An object to store computation result of which filter to apply based on configuration, gitattributes, path and operation (checkin or checkout).

This class maintains backward compatibility while using the filter infrastructure.

Method __init__ Initialize FilteringBlobNormalizer.
Method checkin_normalize Normalize a blob during a checkin operation.
Method checkout_normalize Normalize a blob during a checkout operation.
Instance Variable fallback_read_filter Undocumented
Instance Variable fallback_write_filter Undocumented

Inherited from FilterBlobNormalizer:

Method __del__ Clean up filter drivers on destruction.
Method close Close all filter drivers, ensuring process cleanup.
Instance Variable config_stack Undocumented
Instance Variable filter_context Undocumented
Instance Variable filter_registry Undocumented
Instance Variable gitattributes Undocumented
Instance Variable _owns_context Undocumented
def __init__(self, config_stack: StackedConfig, gitattributes: Mapping[str, Any], core_eol: str = 'native', autocrlf: bytes = b'false', safecrlf: bytes = b'false'):

Initialize FilteringBlobNormalizer.

def checkin_normalize(self, blob: Blob, tree_path: bytes) -> Blob:

Normalize a blob during a checkin operation.

def checkout_normalize(self, blob: Blob, tree_path: bytes) -> Blob:

Normalize a blob during a checkout operation.

fallback_read_filter =

Undocumented

fallback_write_filter =

Undocumented