-
-
Notifications
You must be signed in to change notification settings - Fork 0
ReaderInterface
github-actions edited this page Apr 11, 2026
·
1 revision
Defines the contract for reading .gitattributes files from persistent storage.
Implementations MUST load the raw textual content from the provided path and SHALL return an empty string when the target file does not exist.
- Full name:
\FastForward\DevTools\GitAttributes\ReaderInterface
Reads the .gitattributes content from the specified filesystem path.
public read(string $gitattributesPath): stringParameters:
| Parameter | Type | Description |
|---|---|---|
$gitattributesPath |
string | The filesystem path to the .gitattributes file. |
Return Value:
The raw .gitattributes content, or an empty string when absent.