Module papyri_lang::utils::sourcefile
source · Expand description
This module contains declarations for Papyri source files and spans.
Structs
- Represents a Papyri source file. The source as a string must be smaller than 4 GiB.
- Represents a span of code in a Papyri source file. The source must be smaller than 4GiB.
Functions
- Determines whether the given file path has the
.papyri
extension. - Determines whether the given file path appears to a Papyri library, i.e. a file with the
.lib.papyri
extension.