From c7df9c6c47855adcfd204100098e355358935dc3 Mon Sep 17 00:00:00 2001 From: Steve Zatz Date: Sun, 10 May 2015 20:30:56 -0400 Subject: stmhal: Add os.rename function. --- docs/library/os.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/library/os.rst b/docs/library/os.rst index df5ade327..e9b7d40bf 100644 --- a/docs/library/os.rst +++ b/docs/library/os.rst @@ -46,6 +46,10 @@ Functions Remove a directory. +.. function:: rename(old_path, new_path) + + Rename a file. + .. function:: stat(path) Get the status of a file or directory. -- cgit v1.2.3