ByLineSource.name

name returns a user friendly name representing the underlying input source.

For files, it is the filepath provided to ByLineSourceRange. For standard input, it is "Standard Input". (Use isStdin() to test for standard input, compare against name().)

class ByLineSource(KeepTerminator keepTerminator, Char = char, ubyte terminator = '\n')
const pure nothrow @safe
string
name
()
if (
is(Char == char) ||
is(Char == ubyte)
)

Meta