Skip to content

Commit

Permalink
Update InputTextFile and OutputTextFile documentation for compression
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJefferson committed Jun 14, 2018
1 parent df30f87 commit 12610b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/streams.gd
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,8 @@ DeclareOperation( "InputTextString", [ IsString ] );
## <Description>
## <C>InputTextFile( <A>filename</A> )</C> returns an input stream in the category
## <Ref Filt="IsInputTextStream"/> that delivers the characters from the file
## <A>filename</A>.
## <A>filename</A>. If <A>filename</A> ends in <C>.gz</C> and the file is
## a valid gzipped file, then the file will be transparently uncompressed.
## </Description>
## </ManSection>
## <#/GAPDoc>
Expand Down Expand Up @@ -725,6 +726,8 @@ DeclareOperation( "OutputTextString", [ IsList, IsBool ] );
## category <C>IsOutputTextFile</C> that writes received characters to the file
## <A>filename</A>. If <A>append</A> is <K>false</K>, then the file is emptied first,
## otherwise received characters are added at the end of the file.
## If <A>filename</A> ends in <C>.gz</C> then the file will be
## written with gzip compression.
## <P/>
## <Example><![CDATA[
## gap> # use a temporary directory
Expand Down

0 comments on commit 12610b3

Please sign in to comment.