Part of bzrlib
Function | text_file | Produce a file iterator that is guaranteed to be text, without seeking. |
Function | check_text_lines | Raise BinaryFile if the supplied lines contain NULs. |
Function | check_text_path | Check whether the supplied path is a text, not binary file. |