]> Cypherpunks repositories - gostls13.git/commit
os: clarify docs for Rename.
authorShenghou Ma <minux.ma@gmail.com>
Tue, 10 Dec 2013 04:25:13 +0000 (23:25 -0500)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 10 Dec 2013 04:25:13 +0000 (23:25 -0500)
commitaa0ae7554c460947ff40ae43eb10a098dc4e3f6d
tree86905595afe18ed17860027d89ac853461b42c66
parent46d1461ab75d67844ed4292cb7324a23f3a8496a
os: clarify docs for Rename.

Three changes:
1. mention "move" to clarify things up.
2. use {old,new}path instead of {old,new}name, which makes it clear what
   relative path would do here.
3. mention "OS-specific restrictions might apply".

Fixes #6887.

R=golang-dev, alex.brainman, iant, r
CC=golang-dev
https://golang.org/cl/36930044
src/pkg/os/file.go
src/pkg/os/file_plan9.go
src/pkg/os/file_posix.go