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

> workspace 안에 있는 기존 regular file을 삭제합니다.

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

  ## 인수

  <ParamField path={"path"} type={"string"} required>
    separator normalization 및 workspace-boundary checks 후 workspace 안에서 해석되는 path입니다. 대상은 존재하는 regular file이어야 합니다. folders는 허용되지 않습니다.
  </ParamField>

  ## 예제

  기존 workspace file을 삭제합니다.

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

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