Documentation ¶ Index ¶ func RemoveAllUnderHome(path string) error func Rename(oldPath, newPath string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RemoveAllUnderHome ¶ func RemoveAllUnderHome(path string) error func Rename ¶ added in v0.24.0 func Rename(oldPath, newPath string) error Rename copy oldPath to newPath and then delete oldPath. Unlike os.Rename, it doesn't fail when the oldPath and newPath are in different partitions (error: invalid cross-device link). Types ¶ This section is empty. Source Files ¶ View all Source files mv.go rm.go Click to show internal directories. Click to hide internal directories.