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

Changeset 2819

Show
Ignore:
Timestamp:
11/09/07 02:27:58 (1 year ago)
Author:
kris
Message:

added a mount(set), and some more doc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/io/vfs/VirtualFolder.d

    r2818 r2819  
    115115        /*********************************************************************** 
    116116 
     117                Add a set of child folders. The children cannot 'overlap'  
     118                with others in the tree of the same type. Circular references  
     119                are detected and trapped. 
     120 
     121        ***********************************************************************/ 
     122 
     123        VfsHost mount (VfsFolders group) 
     124        { 
     125                foreach (folder; group) 
     126                         mount (folder); 
     127                return this; 
     128        } 
     129 
     130        /*********************************************************************** 
     131 
    117132                Unhook a child folder  
    118133 
  • trunk/tango/io/vfs/model/Vfs.d

    r2818 r2819  
    5656        /********************************************************************** 
    5757 
    58                 Mounting same folder multiple times is allowed. 
     58                Add a child folder. The child cannot 'overlap' with others 
     59                in the tree of the same type. Circular references across a 
     60                tree of virtual folders are detected and trapped. 
    5961 
    6062        **********************************************************************/ 
    6163 
    62         VfsHost mount(VfsFolder folder); 
     64        VfsHost mount (VfsFolder folder); 
     65 
     66        /*********************************************************************** 
     67 
     68                Add a set of child folders. The children cannot 'overlap'  
     69                with others in the tree of the same type. Circular references  
     70                are detected and trapped. 
     71 
     72        ***********************************************************************/ 
     73 
     74        VfsHost mount (VfsFolders group); 
    6375 
    6476        /********************************************************************** 
    6577 
     78                Unhook a child folder  
     79 
    6680        **********************************************************************/ 
    6781 
    68         VfsHost dismount(VfsFolder folder); 
     82        VfsHost dismount (VfsFolder folder); 
    6983 
    7084        /********************************************************************** 
    7185 
    72                 For symlinking. Note that there isn't really any difference  
    73                 between mounting and symlinking if the source is a VfsFolder. 
     86                Add a symbolic link to another file. These are referenced 
     87                by file() alone, and do not show up in tree traversals 
    7488 
    7589        **********************************************************************/ 
    7690 
    7791        VfsHost map (char[] name, VfsFile target); 
     92 
     93        /*********************************************************************** 
     94 
     95                Add a symbolic link to another folder. These are referenced 
     96                by folder() alone, and do not show up in tree traversals 
     97 
     98        ***********************************************************************/ 
    7899 
    79100        VfsHost map (char[] name, VfsFolderEntry target);