Changeset 2819
- Timestamp:
- 11/09/07 02:27:58 (1 year ago)
- Files:
-
- trunk/tango/io/vfs/VirtualFolder.d (modified) (1 diff)
- trunk/tango/io/vfs/model/Vfs.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/io/vfs/VirtualFolder.d
r2818 r2819 115 115 /*********************************************************************** 116 116 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 117 132 Unhook a child folder 118 133 trunk/tango/io/vfs/model/Vfs.d
r2818 r2819 56 56 /********************************************************************** 57 57 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. 59 61 60 62 **********************************************************************/ 61 63 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); 63 75 64 76 /********************************************************************** 65 77 78 Unhook a child folder 79 66 80 **********************************************************************/ 67 81 68 VfsHost dismount (VfsFolder folder);82 VfsHost dismount (VfsFolder folder); 69 83 70 84 /********************************************************************** 71 85 72 For symlinking. Note that there isn't really any difference73 b etween 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 74 88 75 89 **********************************************************************/ 76 90 77 91 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 ***********************************************************************/ 78 99 79 100 VfsHost map (char[] name, VfsFolderEntry target);












