Skip to main content

add_virtual_file

Function add_virtual_file 

Source
pub fn add_virtual_file(path: &str, contents: &str)
Expand description

Adds a virtual file to the runtime’s virtual file storage.

§Arguments

  • path - The path of the virtual file.
  • contents - The contents of the virtual file.