Mono.Fuse : Mono.Fuse Namespace

DirectoryEntry Class

Provides information about a directory entry.

public class DirectoryEntry

See Also

FileSystem.OnReadDirectory

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.

Requirements

Namespace: Mono.Fuse
Assembly: Mono.Fuse (in Mono.Fuse.dll)
Assembly Versions: 0.0.0.0

Members

See Also: Inherited members from object.

Public Constructors

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

Public Fields

Public Properties

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

Member Details

DirectoryEntry Constructor

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

public DirectoryEntry (string name)

Parameters

name
A string containing the directory entry name.

Exceptions

Type Reason
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.

Requirements

Namespace: Mono.Fuse
Assembly: Mono.Fuse (in Mono.Fuse.dll)

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.

Requirements

Namespace: Mono.Fuse
Assembly: Mono.Fuse (in Mono.Fuse.dll)

Name Property

Get the directory entry name.

public string Name { get; }

Value

A string containing the directory entry name.

Remarks

Requirements

Namespace: Mono.Fuse
Assembly: Mono.Fuse (in Mono.Fuse.dll)