Function hyper_scripter::util::prepare_script [−][src]
pub fn prepare_script<'a, T: AsRef<str>>(
path: &Path,
script: &ScriptInfo,
no_template: bool,
content: &[T]
) -> Result<Option<DateTime<Utc>>>
若是不曾存在的腳本,準備之,並回傳創建的時間 注意若是帶內容編輯則一律視為舊腳本