We have bzrlib.textfile.check_text_lines() that will raise BinaryFile if there are null bytes in the first 1024 bytes.
I realize we could use this as part of annotate, I'm not sure if Loggerhead would be able to use this more directly.
We have bzrlib. textfile. check_text_ lines() that will raise BinaryFile if there are null bytes in the first 1024 bytes.
I realize we could use this as part of annotate, I'm not sure if Loggerhead would be able to use this more directly.