UIZE JavaScript Framework

TO DO - Uize.Services.FileSystem

This is a TO DO document for the Uize.Services.FileSystem module.

1. More Methods to Add

1.1. rename

Lets you rename one or more files or folders.

1.1.1. Two Possible Implementation Approaches

1.1.1.1. Matcher and Transformer

value matcher (choosing which paths to rename)
value transformer (generate new path)
1.1.1.1.1. Regular Expression Renaming
matcher regular expression
replacer regular expression plus replacement string or function

1.1.1.2. General Matcher

Support general matcher, which can match on all properties of items...

path / uri
access permissions
creation date
modified date
different from path matcher, which only gets string value of path to match on

1.2. copy

Copy one or more files or folders.

1.3. modify

Can modify anything about a file, including...

can change permissions
can delete files
can move/rename files

1.4. touch

"Touches" a file so that it's modified date is updated to the current time.