LocalFileSystem

Description

sealed class Tinman.Core.IO.Files.LocalFileSystem

Derived from

FileSystem abstract

An implementation of the IFileSystem interface for the local filesystem.

On Windows platforms, there is a filesystem root for each drive, e.g. c:\. On POSIX platforms, there is a single filesystem root /.

Public / Methods

File​Temp


[OwnerReturn]
public static method FileTemp → (2)

suffix opt : string = null

Optional file suffix (without '.').

temporary opt : bool = true

true to use FileFlags.Temporary,
false to use FileFlags.Create.

returns → IFile

The created file.

Creates a temporary file in the local filesystem.

IOException

If an I/O error has occurred.

File​Temp​Path


[OwnerReturn]
public static method FileTempPath → (1)

suffix opt : string = null

Optional file suffix (without '.').

returns → Path

The created file.

Creates a temporary file in the local filesystem.

IOException

If an I/O error has occurred.

Public / Attributes

Instance


public static attribute Instance → (get)

value : LocalFileSystem

[not-null]
The local filesystem.

Returns the local filesystem.

Logging

Logger


public static readonly attribute Logger → (ILogger)

The logger object of this class.