Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 1 and Version 2 of FileBubblerExample

Show
Ignore:
Author:
kris (IP: 68.122.42.46)
Timestamp:
05/15/07 08:22:06 (17 years ago)
Comment:

reworked for API change

Legend:

Unmodified
Added
Removed
Modified
  • FileBubblerExample

    v1 v2  
    1414        if (args.length is 3) 
    1515           { 
    16            // address the file paths 
     16           // address the source path 
    1717           auto src = new FilePath (args[1]); 
    18            auto dst = new FilePath (args[2]); 
    1918 
    20            // rename src to dst 
    21            src.rename (dst); 
     19           // rename file 
     20           src.rename (args[2]); 
    2221           } 
    2322        else