-
-
Notifications
You must be signed in to change notification settings - Fork 0
WriterInterface
github-actions edited this page Apr 11, 2026
·
1 revision
Defines the contract for writing .gitattributes files to persistent storage.
Implementations MUST write the provided content to the target path, SHOULD normalize attribute-column alignment for deterministic output, and SHALL ensure the resulting file ends with a trailing line feed.
- Full name:
\FastForward\DevTools\GitAttributes\WriterInterface
Writes the .gitattributes content to the specified filesystem path.
public write(string $gitattributesPath, string $content): voidParameters:
| Parameter | Type | Description |
|---|---|---|
$gitattributesPath |
string | The filesystem path to the .gitattributes file. |
$content |
string | The merged .gitattributes content to persist. |