-
Notifications
You must be signed in to change notification settings - Fork 7
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
New features #19
Comments
Renaming directories on top of existing includes the renamed into existing, have a look here
|
Digging further,
Above removed a and replaced with b. While
Resulted in This is probably the behaviour to be expected. I will adjust as soon as I have some time. |
I'm also looking at Links. This is possible, need to add another Node type that's all. |
Awesome, thanks for looking into it. I'll implement more of the more complex areas next to see if there's anything else missing. |
Found another one: |
@milesj what's wrong with is_executable? Seems to be working fine with a simple true/false case? |
During this test, it would always fail. https://github.com/titon/io/blob/master/tests/Titon/Io/NodeTest.php#L247 Didn't look into it much though. |
/usr/local/Cellar/php55/5.5.11/bin/php /private/var/folders/y1/hclnhr051gl3lyrvx9vz5qs40000gn/T/ide-phpunit.php --configuration /Volumes/Development/io/phpunit.xml.dist --filter "/::testPermissionReading( .*)?$/" Titon\Io\NodeTest /Volumes/Development/io/tests/Titon/Io/NodeTest.php
Testing started at 19:43 ...
PHPUnit 4.0.7 by Sebastian Bergmann.
Configuration read from /Volumes/Development/io/phpunit.xml.dist
Time: 59 ms, Memory: 4.50Mb
OK (1 test, 8 assertions)
Process finished with exit code 0 |
Right, against DIR it will always return false. PHP limitation. |
Derp, I knew it was something simple. Thanks for looking, always nice to have another set of eyes. |
Have moved everything else to separate issues. Will close this. |
Hey again, so I'm currently converting https://github.com/titon/io tests to use this library, and these are some features that are missing. I'm not sure what is possible with streams or not, so just let me know what is and isn't possible.
I've also noticed some weirdness with
rename()
in regards to folders. Specifically, this test: https://github.com/titon/io/blob/master/tests/Titon/Io/NodeTest.php#L201 According to the docs, rename should overwrite the target, so I'm assuming that the folder contents get moved to the new location. I'm not 100% positive how folder renaming works in PHP land, so will need to test more before I submit an issue.The text was updated successfully, but these errors were encountered: