parse_ftl_file

Function parse_ftl_file 

Source
pub fn parse_ftl_file(ftl_path: &Path) -> Result<Resource<String>>
Expand description

Parse an FTL file and return the resource.

Returns an empty resource if the file doesn’t exist or is empty. Uses partial parse recovery for files with syntax errors.