Skip to content

Commit

Permalink
Merge pull request #562 from xushiwei/x
Browse files Browse the repository at this point in the history
library os: ReadFile
  • Loading branch information
xushiwei authored Jul 25, 2024
2 parents e82c337 + 87a7809 commit 13be3e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lib/os/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ func (dir dirFS) join(name string) (string, error) {
}
return string(dir) + string(PathSeparator) + name, nil
}
*/

// ReadFile reads the named file and returns the contents.
// A successful call returns err == nil, not err == EOF.
Expand Down Expand Up @@ -529,4 +530,3 @@ func WriteFile(name string, data []byte, perm FileMode) error {
}
return err
}
*/

0 comments on commit 13be3e3

Please sign in to comment.