> ## 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

> Exclui um regular file existente dentro do workspace.

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

  ## Argumentos

  <ParamField path={"path"} type={"string"} required>
    Path resolvido dentro do workspace apos separator normalization e workspace-boundary checks. O destino deve existir e ser um regular file; folders nao sao aceitos.
  </ParamField>

  ## Exemplo

  Exclua um workspace file existente.

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

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