diff options
Diffstat (limited to 'internal/file/file.go')
| -rw-r--r-- | internal/file/file.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/file/file.go b/internal/file/file.go index fc9c320..f933d69 100644 --- a/internal/file/file.go +++ b/internal/file/file.go @@ -217,3 +217,11 @@ func (f pathnameFile) String() string { return sb.String() } + +// --- compile-time interface satisfaction assertions --- +// +// *FdFile is the primary public implementation of File used throughout the +// codebase. The assertion causes a build error if FdFile drifts out of sync +// with the File interface contract. + +var _ File = (*FdFile)(nil) |
