Comparing version 1.5.2 to 1.5.3
@@ -185,3 +185,3 @@ | ||
if (self.isAbsolute(path)) | ||
at.push(self.ROOT); | ||
at.push(parts.shift()); | ||
return parts.reduce(function (parent, part) { | ||
@@ -188,0 +188,0 @@ return Q.when(parent, function () { |
{ | ||
"name": "q-io", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "IO using Q promises", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/kriskowal/q-io/", |
@@ -157,6 +157,12 @@ | ||
Moves a file or directory from one path to another. If the target | ||
exists and is a directory, moves the source into the target directory | ||
with the same base name as the source. | ||
Moves a file or directory from one path to another. Cannot move over a | ||
target directory, even if it is empty. Otherwise, does nothing if the | ||
source and target are the same entry in the file system. | ||
Node's `rename` implementation, at least on Mac OS X, does not enforce | ||
the rule that writing over an empty directory should fail. Since Q-IO | ||
enforces this rule in software, it is not atomic and there is a chance | ||
that an empty directory will be created over the target path between | ||
when `move` checks for it and when it overwrites it. | ||
### link(source, taget) | ||
@@ -163,0 +169,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182920
47
4693
905