Commit Graph

28 Commits

Author SHA1 Message Date
Yuriy Vilks 70876cd1fa Fix directory reading. Return FALSE on directory end instead empty string for avoiding infinity readdir cycles. 2016-04-21 19:51:54 +00:00
Elbek Azimov 3995f84e8c Add windows support. 2016-02-20 03:49:02 +05:00
adlawson 51158ae8e1 Test basic node permissions 2015-08-03 20:08:22 +01:00
adlawson 6733fb8c13 Update directory and file tests 2015-07-24 17:14:55 +01:00
adlawson a7050a3990 Add `symlink` and `is_link` acceptance tests 2015-07-24 17:14:26 +01:00
adlawson e495f5765a Add link node factory methods 2015-07-24 17:14:08 +01:00
adlawson 09a70ad1f0 Add file and directory link node types 2015-07-24 17:13:46 +01:00
adlawson 8715b8b2c2 Update Stat description and permission bits 2015-07-22 11:23:08 +01:00
adlawson bede3179a2 Update CS fixes 2015-07-21 15:38:16 +01:00
adlawson 4a0dd8dc62 Update license year to 2015
...eventually. Not long til 2016.
2015-07-21 15:17:00 +01:00
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 ab2a2ad26f Test touching new and existing files 2014-12-26 17:15:59 +00:00
adlawson f04b74ac94 Add `touch` acceptance test 2014-12-26 17:15:59 +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 ecbce78baf Update URL parsing implementation
Better supports `scheme:///path` and `scheme:///`.
2014-09-07 00:44:12 +01:00
adlawson e3f60f663e Cover use of `file_get_contents` with a directory 2014-09-06 14:43:43 +01:00
adlawson b8d8ddf714 Add `require` and `include` acceptance tests 2014-09-06 14:26:22 +01:00
adlawson c3ac67db8a Add `is_dir` and `is_file` acceptance tests 2014-09-06 14:25:54 +01:00
adlawson 6f72a308fd Add `fopen` and `fread` acceptance tests 2014-09-06 14:25:31 +01:00
adlawson 6854d33591 Add `file_get_contents` acceptance tests
Also includes tests for `file_put_contents`.
2014-09-06 14:24:45 +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
adlawson 526d1445e8 Add functional tests 2014-07-06 17:32:19 +01:00