|
Clean up the semantics of io.dart operations w.r.t. symlinks.
fileExists and dirExists will now both return true for symlinks only if those
symlinks are unbroken and point to entries of the appropriate type. entryExists
will return true for any symlink as well, broken or unbroken.
deleteDir and deleteFile have been replaced with a single function, deleteEntry.
This will delete whatever filesystem entry exists at the path specified, whether
it's a file, directory, or symlink (broken or unbroken).
BUG= 9454
Committed: https://code.google.com/p/dart/source/detail?r=20575
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+228 lines, -61 lines) |
Patch |
 |
M |
utils/pub/command_lish.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
utils/pub/entrypoint.dart
|
View
|
|
3 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
 |
M |
utils/pub/io.dart
|
View
|
|
5 chunks |
+28 lines, -27 lines |
0 comments
|
Download
|
 |
M |
utils/pub/oauth2.dart
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
utils/pub/path_source.dart
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
utils/pub/pub.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
utils/pub/source.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
|
utils/pub/system_cache.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
utils/tests/pub/install/git/lock_version_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
utils/tests/pub/install/hosted/stay_locked_test.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
utils/tests/pub/install/pub_install_test.dart
|
View
|
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
M |
utils/tests/pub/io_test.dart
|
View
|
1
|
2 chunks |
+154 lines, -0 lines |
0 comments
|
Download
|
 |
M |
utils/tests/pub/test_pub.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
utils/tests/pub/validator_test.dart
|
View
|
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|