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

# Filesystem

> Đọc, ghi và quản lý tập tin và thư mục.

<div className="real-category-page">
  Đọc, ghi và quản lý tập tin và thư mục.

  ## Hàm có sẵn

  <CardGroup cols={2}>
    <Card title="appendfile" href="./appendfile">
      Appends raw Lua string bytes to a workspace file using binary append mode. The file may be created if its parent folder exists.
    </Card>

    <Card title="delfile" href="./delfile">
      Xoa mot regular file dang ton tai ben trong workspace.
    </Card>

    <Card title="delfolder" href="./delfolder">
      Xoa mot folder dang ton tai ben trong workspace theo recursive bang recursive folder deletion.
    </Card>

    <Card title="getcustomasset" href="./getcustomasset">
      Sao chep mot regular workspace file dang ton tai vao ExtraContent/\<hwid>/ va tra ve rbxasset:// string cho asset path da sao chep.
    </Card>

    <Card title="isfile" href="./isfile">
      Returns whether a path resolved inside the workspace exists and is a regular file.
    </Card>

    <Card title="isfolder" href="./isfolder">
      Returns whether a path resolved inside the workspace exists and is a directory.
    </Card>

    <Card title="listfiles" href="./listfiles">
      Returns an array table of the direct children of an existing workspace directory.
    </Card>

    <Card title="loadfile" href="./loadfile">
      Reads a workspace file, compiles its contents with the Luau compiler, and returns the loaded Luau function without executing it.
    </Card>

    <Card title="makefolder" href="./makefolder">
      Tao directory ben trong workspace bang recursive folder creation, bao gom missing parent directories.
    </Card>

    <Card title="openfiledialog" href="./openfiledialog">
      Mo Windows file-open dialog qua Windows file picker va tra ve file da chon duoi dang file item.
    </Card>

    <Card title="openfilesdialog" href="./openfilesdialog">
      Mo Windows file-open dialog thong qua Windows file picker voi multi-select duoc bat va tra ve cac tep da chon duoi dang gia tri file item.
    </Card>

    <Card title="openfolderdialog" href="./openfolderdialog">
      Mo Windows folder picker thong qua Windows file picker voi folder selection mode va tra ve thu muc da chon duoi dang file item.
    </Card>

    <Card title="readfile" href="./readfile">
      Doc existing regular file ben trong workspace o binary mode va tra ve bytes cua no duoi dang Lua string.
    </Card>

    <Card title="savefiledialog" href="./savefiledialog">
      Mo Windows save dialog thong qua Windows save dialog, ghi Lua string bytes duoc cung cap vao selected path va tra ve saved file duoi dang file item.
    </Card>

    <Card title="writefile" href="./writefile">
      Ghi Lua string bytes vao mot tep ben trong workspace, tao missing parent directories va thay the file contents neu tep da ton tai.
    </Card>
  </CardGroup>
</div>
