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

> Usuwa istniejacy folder wewnatrz workspace rekurencyjnie przez recursive folder deletion.

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

  ## Argumenty

  <ParamField path={"path"} type={"string"} required>
    Path rozwiazywany wewnatrz workspace po separator normalization i workspace-boundary checks. Cel musi istniec i byc directory; files nie sa akceptowane.
  </ParamField>

  ## Przykład

  Usun istniejacy workspace folder i jego zawartosc.

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

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