mirror of
https://github.com/golang/go
synced 2024-09-25 15:20:13 -06:00
syscall: fix typo in namei doc comment.
LGTM=dave R=rsc, dave CC=golang-codereviews https://golang.org/cl/112420044
This commit is contained in:
parent
446bfffcd6
commit
d9079cc883
@ -186,7 +186,7 @@ func skipelem(path string) (elem, rest string) {
|
||||
|
||||
// namei translates a file system path name into an inode.
|
||||
// If parent is false, the returned ip corresponds to the given name, and elem is the empty string.
|
||||
// If parent is false, the walk stops at the next-to-last element in the name,
|
||||
// If parent is true, the walk stops at the next-to-last element in the name,
|
||||
// so that ip is the parent directory and elem is the final element in the path.
|
||||
func (fs *fsys) namei(path string, parent bool) (ip *inode, elem string, err error) {
|
||||
// Reject NUL in name.
|
||||
|
Loading…
Reference in New Issue
Block a user