File.name

Returns the name last used to initialize this File, if any.

Some functions that create or initialize the File set the name field to null. Examples include tmpfile, wrapFile, and fdopen. See the documentation of those functions for details.

struct File
@property const @safe pure nothrow
string
name
()

Return Value

Type: string

The name last used to initialize this this file, or null otherwise.

Meta

Suggestion Box / Bug Report