FileName.combine

Combine a path and a file name

  1. const(char)* combine(const(char)* path, const(char)* name)
  2. const(char)[] combine(const(char)[] path, const(char)[] name)
    struct FileName
    nothrow extern (D) static
    const(char)[]
    combine
    (
    const(char)[] path
    ,
    const(char)[] name
    )

Parameters

path
Type: const(char)[]

Path to append to

name
Type: const(char)[]

Name to append to path

Return Value

Type: const(char)[]

The \0 terminated string which is the combination of path and name and a valid path.

Meta