Skip to content

Commit c90f820

Browse files
committed
Remove.
1 parent b64b9b0 commit c90f820

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

util/osutil/osfs.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,3 @@ func (FS) Stat(name string) (fs.FileInfo, error) {
3232
func (FS) ReadFile(name string) ([]byte, error) {
3333
return os.ReadFile(name)
3434
}
35-
36-
// OpenFile behaves the same as [os.OpenFile].
37-
//
38-
// Deprecated: use os.OpenFile instead.
39-
func OpenFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
40-
return os.OpenFile(name, flag, perm)
41-
}

0 commit comments

Comments
 (0)