Reads raw .gitattributes content from the filesystem.
Description
This reader SHALL return the complete textual contents of a .gitattributes file, and MUST yield an empty string when the file does not exist.
Interfaces
Methods
read()
: string
Reads a .gitattributes file from the specified filesystem path.
Reads a .gitattributes file from the specified filesystem path.
public
read(
string
$gitattributesPath) : string
Parameters
$gitattributesPath
:
string
Description
The filesystem path to the .gitattributes file.
Return values
string
Description
The raw .gitattributes content, or an empty string when absent.