styx2000.extrautil.dir

This module contains the basic definition of the Dir structure, which is a representation of a folder or file. This structure is not found in the protocol description, but can be useful in the construction of some protocol messages, such as a read message.

Public Imports

styx2000.protobj.perm
public import styx2000.protobj.perm;
Undocumented in source.
styx2000.protobj.qid
public import styx2000.protobj.qid;
Undocumented in source.

Members

Classes

Dir
class Dir

Directory entry representation in some 9P messages. The constructor parameters are the same as the constructor parameters of the Stat structure.

Functions

dir2stat
Stat dir2stat(Dir dir)

Convert Dir object to Stat object

stat2dir
Dir stat2dir(Stat stat)

Convert Stat object to Dir object

Meta

Authors

Oleg Bakharev, Ilya Pertsev