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

Changeset 2547

Show
Ignore:
Timestamp:
09/04/07 06:02:30 (1 year ago)
Author:
larsivi
Message:

Added vfs example to dsss.conf, commented out toList applications so that it compiles

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/example/dsss.conf

    r2465 r2547  
    2424[networking/sockethello.d] 
    2525[networking/socketserver.d] 
     26[networking/vfs.d] 
    2627[system/argparser.d] 
    2728[system/localtime.d] 
  • trunk/example/networking/vfs.d

    r2437 r2547  
    1212    vfs.mount(tangofolder, "tango"); 
    1313 
     14    /* 
    1415    foreach(path; vfs.toList) { 
    1516        Stdout(path).newline; 
    1617    } 
     18    */ 
     19 
    1720    Stdout.format("\nFile count: {:u}", vfs.fileCount).newline; 
    1821    Stdout.format("Content size: {:u}", vfs.contentSize).newline; 
     
    2528    auto somedir = vfs.openFolder("/test/subdir"); 
    2629 
     30    /* 
    2731    foreach (path; somedir.toList) { 
    2832        Stdout(path).newline; 
    2933    } 
     34    */ 
    3035 
    3136    vfs.write("/test/subdir/mynew.file", vfs.read("/tango/io/Stdout.d"));