Skip to content

Commit de50d4f

Browse files
committed
Update 33974-add-public-lockedfile-pkg.md
1 parent 9f6c5eb commit de50d4f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

design/33974-add-public-lockedfile-pkg.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ Exported names and comments as can be currently found in
5353
// change atomically.
5454
package lockedfile
5555
56-
// Read opens the named file with a read-lock and returns its contents.
57-
func Read(name string) ([]byte, error)
58-
59-
// Write opens the named file (creating it with the given permissions if
60-
// needed), then write-locks it and overwrites it with the given content.
61-
func Write(name string, content io.Reader, perm os.FileMode) (err error)
62-
6356
// A File is a locked *os.File.
6457
//
6558
// Closing the file releases the lock.

0 commit comments

Comments
 (0)