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

# delfolder

> workspace 안에 있는 기존 folder를 recursive folder deletion로 recursive 삭제합니다.

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

  ## 인수

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

  ## 예제

  기존 workspace folder와 그 내용을 삭제합니다.

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

  delfolder(path)
  print(isfolder(path))
  ```
</div>
