Mono.Fuse : Mono.Fuse Namespace

DirectoryEntry Class

Provides information about a directory entry.

public class DirectoryEntry


See Also

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Mono.Fuse.DirectoryEntry contains information about a directory entry returned by overriders of the FileSystem.OnReadDirectory method.

Members

See Also: Inherited members from object.

Constructors

Creates and initializes a new instance of the Mono.Fuse.DirectoryEntry class for the specified path.

Fields

Properties

Name [read-only]
string . Get the directory entry name.

Member Details

DirectoryEntry Constructor

public DirectoryEntry (string name)

Creates and initializes a new instance of the Mono.Fuse.DirectoryEntry class for the specified path.

Parameters

name
A string containing the directory entry name.

Exceptions

Type Condition
ArgumentNullException name is null.
ArgumentException name contains an invalid path character, such as /.

Remarks

This constructor initializes the DirectoryEntry.Name property of the new instance using name.

Stat Field

Provides Mono.Unix.Native.Stat information to FUSE on a FileSystem.OnReadDirectory call.

Remarks

This field is only used by FileSystem.OnReadDirectory if the Mono.Unix.Native.Stat.st_ino field has a non-zero value and the FileSystem.SetsInode property is true.

This field should be filled in if your filesystem needs more control over the inode values returned to other programs. This helps facilitate corner-cases with renaming files while they're open for reading, etc.


Name Property

public string Name { get; }

Get the directory entry name.

Value

A string containing the directory entry name.

Remarks