init

Function init 

Source
pub fn init(path: &Path, project: Option<&Path>) -> Result<ResourceId>
Expand description

Initialize a file as a Script for a Project.

If project is None, assumes the file is contained within the project.