Commit Graph

10 Commits

Author SHA1 Message Date
adlawson
30e428df47 Remove file __toString behaviour
Casting a file to a string to get the content is a bit of a dirty
pattern.
2015-07-21 12:30:08 +01:00
adlawson
407af5ef5b Test the stripping of :// from scheme 2015-07-21 12:27:37 +01:00
Charles Sprayberry
3c4cecc423 create directory recursively
- Removes call to non-existent method ‘checkBit’
- Uses $recursive option passed as 2nd argument to determine if
recursion should occur
- Removes unused argument from DirectoryHandle::buildNodesRecursive
2014-12-30 20:33:38 +00:00
adlawson
90c02999bd Add stream_metadata to stream wrapper
This adds support for functions like `touch`.
2014-12-26 17:15:59 +00:00
adlawson
e3f60f663e Cover use of file_get_contents with a directory 2014-09-06 14:43:43 +01:00
adlawson
c937b5a286 Bitwise & rather than | node stat types
We need all the bits to pass simple tests like `is_dir` and `is_file`.

Fiexes #9.
2014-09-04 17:57:00 +01:00
adlawson
8527c7e37b Add stream handle tests 2014-07-06 17:34:01 +01:00
adlawson
19bea4042e Add logger tests 2014-07-06 17:33:44 +01:00
adlawson
012fdd61a6 Add node tests
Includes node factory and walker tests.
2014-07-06 17:33:15 +01:00
adlawson
dd5118f443 Add FileSystem tests 2014-07-06 17:32:53 +01:00