Commit Graph

19 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 d814160c77 Set basic permission bits 2015-08-03 20:08:03 +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 8e8f09c0d2 Rename node factory and walker variables
Prepend variable names with `node` ready for upcoming additional
factory.
2015-07-22 16:00:52 +01:00
adlawson 8944d75bb9 Remove unnecessary bitwise &
This also fixes compat issues in PHP 5.5.
2015-07-22 11:29:14 +01:00
adlawson 8715b8b2c2 Update Stat description and permission bits 2015-07-22 11:23:08 +01:00
adlawson 4a0dd8dc62 Update license year to 2015
...eventually. Not long til 2016.
2015-07-21 15:17:00 +01:00
adlawson feaf925bec Remove unnecessary `@inheritdoc` docblocks
They're not needed to inherit parent documentation and are overly all up
in my grill.
2015-07-21 15:11:15 +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 dcd516c4e7 Don't automatically mount on FileSystem factory
This is to maintain the same behaviour whether you use the factory or
the builder.
2015-07-21 12:15:40 +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 ecbce78baf Update URL parsing implementation
Better supports `scheme:///path` and `scheme:///`.
2014-09-07 00:44:12 +01:00
adlawson 346ea57616 Apply CS fixes 2014-09-06 15:15:08 +01: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 404b908bbd Add source 2014-07-06 17:31:39 +01:00