Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

path: API #2950

Closed
rsc opened this issue Feb 9, 2012 · 2 comments
Closed

path: API #2950

rsc opened this issue Feb 9, 2012 · 2 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Feb 9, 2012

In package comment, s/filename//
Everywhere: s/(path )?separator/slash/.

In Clean: /Dot-Dot right/ s/right/Right/.
In Dir: s/the all/all/
Avoid mention of "root directory":
    "If the path consists entirely of
    slashes, Dir returns a single slash. Otherwise the
    returned path does not end in a slash."

Add SplitList (like in path/filepath) for consistency.

Document which functions call Clean on their result (Join for one).

In Split: document that dir+file == path (there's a sentence in
path/filepath to lift).

Document ErrBadPattern.
@rsc
Copy link
Contributor Author

rsc commented Feb 14, 2012

Comment 1:

(remy)

Status changed to Started.

@remyoudompheng
Copy link
Contributor

Comment 2:

This issue was closed by revision 3e7d804.

Status changed to Fixed.

@rsc rsc added fixed labels Feb 16, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants