Section navigation

Public classAbstract LeanDirectory

Namespace
Rowles.LeanCorpus.Store
Assembly
Rowles.LeanCorpus.dll

Abstract base for storage operations. Named LeanDirectory to avoid collision with Directory.

public abstract class LeanDirectory
Inheritance
LeanDirectory
Derived

Public property DirectoryPath

Directory path backing this store.

Public method CreateOutput(string)

Creates a new file for writing.

Public method DeleteFile(string)

Deletes the specified file from the directory.

Public method FileExists(string)

Returns whether the specified file exists.

Public method ListAll()

Lists all files in the directory.

Public method OpenInput(string)

Opens an existing file for reading via memory-mapped I/O.