var searchIndex = {}; searchIndex["vfs"] = {"doc":"Virtual file system abstraction","items":[[3,"OpenOptions","vfs","Options for opening files",null,null],[5,"resolve","","Resolve the path relative to the given base returning a new path",null,{"inputs":[{"name":"vpath"},{"name":"s"}],"output":{"name":"box"}}],[0,"physical","","A "physical" file system implementation using the underlying OS file system",null,null],[3,"PhysicalFS","vfs::physical","A "physical" file system implementation using the underlying OS file system",null,null],[11,"path","","",0,null],[0,"memory","vfs","An ephemeral in-memory file system, intended mainly for unit tests",null,null],[3,"DataHandle","vfs::memory","",null,null],[3,"MemoryFSImpl","","",null,null],[3,"MemoryFS","","An ephemeral in-memory file system, intended mainly for unit tests",null,null],[3,"MemoryFile","","",null,null],[12,"data","","",1,null],[12,"pos","","",1,null],[3,"MemoryMetadata","","",null,null],[3,"MemoryPath","","",null,null],[12,"path","","",2,null],[6,"Filename","","",null,null],[6,"MemoryFSHandle","","",null,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"fmt","","",4,null],[11,"fmt","","",5,null],[11,"new","","",5,{"inputs":[],"output":{"name":"memoryfs"}}],[11,"fmt","","",1,null],[11,"read","","",1,null],[11,"write","","",1,null],[11,"flush","","",1,null],[11,"seek","","",1,null],[11,"is_dir","","",6,null],[11,"is_file","","",6,null],[11,"len","","",6,null],[11,"path","","",5,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"new","","",2,{"inputs":[{"name":"memoryfshandle"},{"name":"filename"}],"output":{"name":"self"}}],[11,"decompose_path","","",2,null],[11,"open_with_options","","",2,null],[11,"parent","","",2,null],[11,"file_name","","",2,null],[11,"extension","","",2,null],[11,"resolve","","",2,null],[11,"mkdir","","",2,null],[11,"exists","","",2,null],[11,"metadata","","",2,null],[11,"read_dir","","",2,null],[11,"to_string","","",2,null],[11,"box_clone","","",2,null],[11,"eq","","",2,null],[0,"util","vfs","Utility functions for working with the virtual file systems",null,null],[3,"WalkDirIter","vfs::util","",null,null],[5,"walk_dir","","Recursively traverse the file system at the given path",null,{"inputs":[{"name":"vpath"}],"output":{"name":"walkdiriter"}}],[11,"next","","",7,null],[8,"VPath","vfs","A abstract path to a location in a filesystem",null,null],[10,"open_with_options","","Open the file at this path with the given options",8,null],[11,"open","","Open the file at this path for reading",8,null],[11,"create","","Open the file at this path for writing, truncating it if it exists already",8,null],[11,"append","","Open the file at this path for appending, creating it if necessary",8,null],[10,"mkdir","","Create a directory at the location by this path",8,null],[10,"file_name","","The file name of this path",8,null],[10,"extension","","The extension of this filename",8,null],[10,"resolve","","append a segment to this path",8,null],[10,"parent","","Get the parent path",8,null],[10,"exists","","Check if the file existst",8,null],[10,"metadata","","Get the file's metadata",8,null],[10,"read_dir","","Retrieve the path entries in this path",8,null],[10,"to_string","","Retrieve a string representation",8,null],[10,"box_clone","","",8,null],[8,"VFile","","An abstract file object",null,null],[8,"VMetadata","","File metadata abstraction",null,null],[10,"is_dir","","Returns true iff this path is a directory",9,null],[10,"is_file","","Returns true iff this path is a file",9,null],[10,"len","","Returns the length of the file at this path",9,null],[8,"VFS","","An abstract virtual file system",null,null],[16,"PATH","","The type of file objects",10,null],[16,"FILE","","The type of path objects",10,null],[16,"METADATA","","The type of metadata objects",10,null],[10,"path","","Create a new path within this filesystem",10,null],[11,"default","","",11,{"inputs":[],"output":{"name":"openoptions"}}],[11,"fmt","","",11,null],[11,"new","","Create a new instance",11,{"inputs":[],"output":{"name":"openoptions"}}],[11,"read","","Open for reading",11,null],[11,"write","","Open for writing",11,null],[11,"create","","Create the file if it does not exist yet",11,null],[11,"append","","Append at the end of the file",11,null],[11,"truncate","","Truncate the file to 0 bytes after opening",11,null]],"paths":[[3,"PhysicalFS"],[3,"MemoryFile"],[3,"MemoryPath"],[3,"DataHandle"],[3,"MemoryFSImpl"],[3,"MemoryFS"],[3,"MemoryMetadata"],[3,"WalkDirIter"],[8,"VPath"],[8,"VMetadata"],[8,"VFS"],[3,"OpenOptions"]]}; initSearch(searchIndex);