Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenameIfExists ¶ added in v1.7.10
Renames the file "a" to "b" iff "a" exists. It returns "true" and no error, if rename were successful. It returns "false" and no error, if the file "a" does not exist. It returns "false" and an error, if rename failed.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package filesystemmock is a generated GoMock package.
|
Package filesystemmock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.