> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# delfile

> يحذف regular file موجودا داخل workspace.

<div className="real-function-page">
  ```lua theme={null}
  delfile(path: string)
  ```

  ## الوسائط

  <ParamField path={"path"} type={"string"} required>
    Path يتم حله داخل workspace بعد separator normalization وفحص workspace-boundary. يجب ان يكون الهدف موجودا وان يكون regular file؛ folders غير مقبولة.
  </ParamField>

  ## مثال

  احذف ملفا موجودا داخل workspace.

  ```lua theme={null}
  local path = "examples/temporary.txt"
  writefile(path, "temporary")

  delfile(path)
  print(isfile(path))
  ```
</div>
