Comment 2 for bug 305797

Revision history for this message
Martin Albisetti (beuno) wrote : Re: [Bug 305797] Re: annotating a binary file should raise an exception

> We have bzrlib.textfile.check_text_lines() that will raise BinaryFile if
> there are null bytes in the first 1024 bytes.

Would this read the whole file?
As in, does it scale well to big files?

--
Martin