Skip to main content
Module

x/libclang/mod.ts>UnsavedFile

Deno FFI bindings for libclang
Go to Latest
interface UnsavedFile
import { type UnsavedFile } from "https://deno.land/x/libclang@1.0.0-beta.8/mod.ts";

Provides the contents of a file that has not yet been saved to disk.

Each UnsavedFile instance provides the name of a file on the system along with the current contents of that file that have not yet been saved to disk.

Properties

filename: string

The file whose contents have not yet been saved.

This file must already exist in the file system.

contents: Uint8Array

A buffer containing the unsaved contents of this file.