Changes between Version 6 and Version 7 of MinimalFileStorage


Ignore:
Timestamp:
Sep 22, 2012 5:53:41 PM (10 years ago)
Author:
mjs@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MinimalFileStorage

    v6 v7  
    2929
    3030    // Atomically renames a file or directory; DOMRequest returns boolean true or false to indicate success
    31     DOMRequest remove(DOMString oldName, DOMString newName);
     31    DOMRequest rename(DOMString oldName, DOMString newName);
    3232
    3333    // The request will return a FileHandle; error if called on a Directory
    34     DOMRequest openForWriting(DOMString name);
    35 
    36     // The request will return a FileHandle; File must be a descendant of this directory
    37     DOMRequest openForWriting(File file);
     34    // If File is passed, it must be a descendant of this directory
     35    DOMRequest openForWriting(DOMString name or File file);
    3836
    3937    // The DOMMultiRequest returns File or Directory objects