File.name

string name() @property const @safe pure nothrow return

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.

Returns

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