File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -862,14 +862,13 @@ Parameters:
862862 - **filename ** (Required): Name of the executable file. It doesn't require the extension of the executable.
863863
864864tools.unix2dos()
865- -------------
865+ ----------------
866866
867867.. code-block :: python
868868
869869 def unix2dos (filepath )
870870
871871 Converts line breaks in a text file from Unix format (LF) to DOS format (CRLF).
872- Returns True for success, False otherwise.
873872
874873.. code-block :: python
875874
@@ -881,20 +880,19 @@ Parameters:
881880 - **filepath ** (Required): The file to convert.
882881
883882tools.dos2unix()
884- -------------
883+ ----------------
885884
886885.. code-block :: python
887886
888887 def dos2unix (filepath )
889888
890889 Converts line breaks in a text file from DOS format (CRLF) to Unix format (LF).
891- Returns True for success, False otherwise.
892890
893891.. code-block :: python
894892
895893 from conans import tools
896894
897- tools.dos2unix(" dosfile" )
895+ tools.dos2unix(" dosfile.txt " )
898896
899897 Parameters:
900898 - **filepath ** (Required): The file to convert.
You can’t perform that action at this time.
0 commit comments