aboutsummaryrefslogtreecommitdiff
path: root/src/os/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/file.go')
-rw-r--r--src/os/file.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/os/file.go b/src/os/file.go
index 66269c199e..80857240f5 100644
--- a/src/os/file.go
+++ b/src/os/file.go
@@ -428,9 +428,6 @@ func openDir(name string) (*File, error) {
return openDirNolog(name)
}
-// lstat is overridden in tests.
-var lstat = Lstat
-
// Rename renames (moves) oldpath to newpath.
// If newpath already exists and is not a directory, Rename replaces it.
// If newpath already exists and is a directory, Rename returns an error.