diff --git a/rename.go b/rename.go index 6a7b83b..8128d75 100644 --- a/rename.go +++ b/rename.go @@ -4,4 +4,6 @@ package flatfs import "os" -var rename = os.Rename +func rename(a, b string) error { + return os.Rename(a, b) +}