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

> قراءة وكتابة وإدارة الملفات والمجلدات.

<div className="real-category-page">
  قراءة وكتابة وإدارة الملفات والمجلدات.

  ## الدوال المتاحة

  <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">
      يحذف regular file موجودا داخل workspace.
    </Card>

    <Card title="delfolder" href="./delfolder">
      يحذف folder موجودا داخل workspace بشكل recursive باستخدام recursive folder deletion.
    </Card>

    <Card title="getcustomasset" href="./getcustomasset">
      ينسخ regular workspace file موجودا إلى ExtraContent/\<hwid>/ ويعيد rbxasset:// string لمسار asset المنسوخ.
    </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">
      ينشئ directory داخل workspace باستخدام recursive folder creation، بما في ذلك missing parent directories.
    </Card>

    <Card title="openfiledialog" href="./openfiledialog">
      يفتح Windows file-open dialog عبر Windows file picker ويعيد الملف المحدد كـ file item.
    </Card>

    <Card title="openfilesdialog" href="./openfilesdialog">
      يفتح Windows file-open dialog عبر Windows file picker مع تفعيل multi-select ويعيد الملفات المحددة كقيم file item.
    </Card>

    <Card title="openfolderdialog" href="./openfolderdialog">
      يفتح Windows folder picker عبر Windows file picker مع folder selection mode ويعيد المجلد المحدد كـ file item.
    </Card>

    <Card title="readfile" href="./readfile">
      يقرأ existing regular file داخل workspace في binary mode ويعيد bytes الخاصة بها كسلسلة Lua.
    </Card>

    <Card title="savefiledialog" href="./savefiledialog">
      يفتح Windows save dialog عبر Windows save dialog، يكتب Lua string bytes المقدمة إلى selected path، ويعيد saved file كـ file item.
    </Card>

    <Card title="writefile" href="./writefile">
      يكتب Lua string bytes إلى ملف داخل workspace، ينشئ missing parent directories ويستبدل file contents إذا كان الملف موجودا بالفعل.
    </Card>
  </CardGroup>
</div>
