aboutsummaryrefslogtreecommitdiff
path: root/src/lib/os/file.go
AgeCommit message (Collapse)Author
2009-06-09mv src/lib to src/pkgRob Pike
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102
2009-06-01update Go tree to use new syscall package.Russ Cox
R=r DELTA=713 (109 added, 386 deleted, 218 changed) OCL=29707 CL=29722
2009-05-18add Getwd, Fchdir, testsRuss Cox
R=r DELTA=215 (186 added, 0 deleted, 29 changed) OCL=28968 CL=28995
2009-05-15os: MkdirAll, RemoveAll, Chmod, Chown, Truncate, Getgroups.Russ Cox
Getuid, etc drop their errors -- they cannot error R=r DELTA=605 (547 added, 12 deleted, 46 changed) OCL=28919 CL=28929
2009-05-15make Stat indicate whether it followed a symlink.Russ Cox
R=r DELTA=61 (34 added, 0 deleted, 27 changed) OCL=28904 CL=28906
2009-05-13Add os.Link, os.Symlink, os.Readlink.Ian Lance Taylor
R=r,rsc DELTA=161 (161 added, 0 deleted, 0 changed) OCL=28745 CL=28747
2009-05-08move things out of sys into os and runtimeRuss Cox
R=r OCL=28569 CL=28573
2009-04-29exit with error status EPIPE ifRuss Cox
one fd gets too many EPIPEs in a row during write. R=r DELTA=10 (9 added, 0 deleted, 1 changed) OCL=28057 CL=28057
2009-04-17Step 1 of the Big Error Shift: make os.Error an interface and replace ↵Rob Pike
*os.Errors with os.Errors. lib/template updated to use new setup; its clients also updated. Step 2 will make os's error support internally much cleaner. R=rsc OCL=27586 CL=27586
2009-04-14fix infinite loop in Readdirnames: bufp > nbuf can happenRuss Cox
after EOF has been hit, because nbuf is now 0 or -1. discard old comment. R=r DELTA=3 (0 added, 0 deleted, 3 changed) OCL=27463 CL=27465
2009-04-13fix error return in RemoveRuss Cox
change canexec to canExec. R=r DELTA=7 (0 added, 0 deleted, 7 changed) OCL=27393 CL=27398
2009-04-13lib miscRuss Cox
* exec.LookPath * flag.Args * os.Remove * strings.HasPrefix * strings.HasSuffix * syscall.Rmdir TBR=r DELTA=100 (100 added, 0 deleted, 0 changed) OCL=27373 CL=27392
2009-04-07ChdirRuss Cox
R=r DELTA=17 (17 added, 0 deleted, 0 changed) OCL=27146 CL=27153
2009-03-11Rename os.FD to os.File.Russ Cox
Make Fstat, Readdirnames, and Readdir methods on os.File. R=r DELTA=281 (79 added, 3 deleted, 199 changed) OCL=25891 CL=26130
2009-03-07document osRob Pike
R=rsc DELTA=143 (96 added, 0 deleted, 47 changed) OCL=25876 CL=25888
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox
plus significant hand editing. Back to T{x} for composite literals. R=r OCL=25612 CL=25632
2009-02-15add os.ForkExec, os.Exec, os.Wait, exec.OpenCmd.Russ Cox
as thread-safe as possible, given the surrounding system. add stub RWLock implementation. R=r DELTA=852 (834 added, 6 deleted, 12 changed) OCL=25046 CL=25053
2009-02-13convert composite literals from { } to ( ).Russ Cox
only non-trivial changes are in convlit1.go golden.out R=gri OCL=25019 CL=25024
2009-02-10change DirInfo->dirInfo now that 6g export bug is fixedRob Pike
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=24788 CL=24805
2009-02-10drop the os_ prefix on the file names in os. os_test.go can stay.Rob Pike
R=rsc DELTA=793 (392 added, 392 deleted, 9 changed) OCL=24777 CL=24804