Skip to content

Commit 4c485a9

Browse files
committed
---
yaml --- r: 14566 b: refs/heads/try c: 1471b1f h: refs/heads/master v: v3
1 parent ff779b9 commit 4c485a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 9208684e745b50b511c0fd3645a8ab2f3919fc82
5+
refs/heads/try: 1471b1f3ffd71eda0511df7ec6a9a0b94b55e958
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/libstd/fs.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ A path or fragment of a filesystem path
3232
*/
3333
type path = str;
3434

35-
fn splitDirnameBasename (pp: path) -> {dirname: str, basename: str} {
35+
fn split_dirname_basename (pp: path) -> {dirname: str, basename: str} {
3636
alt str::rfind(pp, {|ch|
3737
ch == os_fs::path_sep || ch == os_fs::alt_path_sep
3838
}) {
@@ -56,7 +56,7 @@ The dirname of "/usr/share" will be "/usr", but the dirname of
5656
If the path is not prefixed with a directory, then "." is returned.
5757
*/
5858
fn dirname(pp: path) -> path {
59-
ret splitDirnameBasename(pp).dirname;
59+
ret split_dirname_basename(pp).dirname;
6060
}
6161

6262
/*
@@ -71,7 +71,7 @@ the provided path. If an empty path is provided or the path ends
7171
with a path separator then an empty path is returned.
7272
*/
7373
fn basename(pp: path) -> path {
74-
ret splitDirnameBasename(pp).basename;
74+
ret split_dirname_basename(pp).basename;
7575
}
7676

7777
// FIXME: Need some typestate to avoid bounds check when len(pre) == 0

0 commit comments

Comments
 (0)