summaryrefslogtreecommitdiff
path: root/src/pkg/io/ioutil
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý5-0/+378
2011-09-13Imported Upstream version 60Ondřej Surý5-362/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý1-1/+1
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-2/+11
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý2-16/+30
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý2-4/+56
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý4-9/+9
2010-06-30io/ioutil.TempFile for WindowsPeter Mundy2-12/+13
Fixes issue 834. R=rsc, brainman CC=golang-dev http://codereview.appspot.com/1686047 Committer: Russ Cox <rsc@golang.org>
2010-06-03io/ioutil: add TempFileRuss Cox3-0/+93
R=r CC=golang-dev http://codereview.appspot.com/1472042
2010-04-22FileInfo: regularize the types of some fields.Rob Pike2-3/+3
Uid, Gid become int. File size info becomes int64. Times become int64. R=rsc, cw CC=golang-dev http://codereview.appspot.com/968042
2010-04-09rename os.Dir to os.FileInfoRob Pike1-13/+13
R=rsc CC=golang-dev http://codereview.appspot.com/902042
2010-04-05io/ioutil: fix bug in ReadFile when Open succeeds but Stat failsRuss Cox1-1/+1
R=gri CC=golang-dev http://codereview.appspot.com/867044
2010-02-25strings: delete Runes, BytesRuss Cox1-2/+1
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench delete unused imports R=r CC=golang-dev http://codereview.appspot.com/224062
2009-12-151) Change default gofmt default settings forRobert Griesemer2-49/+49
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-12-09remove uses of string concatenation from src and misc directoryRobert Griesemer1-2/+2
R=rsc http://codereview.appspot.com/172041
2009-12-03Add ReadFrom and WriteTo methods to bytes.Buffer, to enable i/o without ↵Rob Pike1-5/+5
buffer allocation. Use them in Copy and Copyn. Speed up ReadFile by using ReadFrom and avoiding Copy altogether (a minor win). R=rsc, gri CC=golang-dev http://codereview.appspot.com/166041
2009-12-02move ReadFile, WriteFile, and ReadDir into a separate io/ioutil package.Rob Pike3-0/+194
this breaks the dependency of package io on package bytes. R=rsc CC=golang-dev http://codereview.appspot.com/163085