المفاهيم

الأجهزة كوحدات تخزين

الـ آلة تشغيل SDK هذا ما يعطي وكيلاً مكان ما للعمل، ولهذا السبب ملفاته لا تترك الآلة أبداً.

registered on first callfiles stay local
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

الفكرة

فَٱلْمَوْضُوعُ لِلْمَحَبَّةِ يَتَعَلَّمُ مِنْ مَسْؤُولِيَّةِ ٱلْمَسِيحِيَّةِ ٱلْمُتَوَقِّعَةِ .

Kindحيث تكون بياناتهعدد الذين تم
computerعلى تلك الالة ، ~/.iagenify/filesstorage.files
(أ) لا توجد بيانات عن هذا البند.في ذلك المتصفح- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IaGenify سحابتم إدارتها لكstorage.run()
قاعدة بيانات أو دلومع مقدم تأمينكstorage.run()

كيف يمكن لآلة أن تصل

في أول تبادل للمفتاح SDK وتُبلغ عن هوية الآلة، والبيئة والموارد المكتشفة، وتظهر الآلة في القائمة، وتحتفظ بنفس الهوية بعد ذلك لأن هوية التخزين مخبأة مع الجلسة.

const pc = await api.storage.get();   // this machine

pc.id;
pc.type;        // "filesystem"
pc.hostname;
pc.isDefault;

await api.storage.list();             // every storage on the account
pc = api.storage.get()   # this machine

pc.id
pc.type          # "filesystem"
pc.machine_id
pc.is_default

api.storage.list()       # every storage on the account

لماذا يحتفظ الحاسوب بملفاته

لا يحمل تخزين حاسوب أي بايتات على الخادم، ويتم إنفاذ ذلك بدلاً من مجرد القصد: storage_is_localعميل يعمل هناك يقرأ ويكتب من خلال الآلة نفسها

// Refused — a computer is not a destination for an upload
await api.files.create({ name: "notes.md", content }).save({ localOnly: false });
// IaGenifyError: storage_is_local

// This is the way: the file is written on the machine
await pc.files.write("notes.md", content);
# Refused — a computer is not a destination for an upload
api.files.create(name="notes.md", content=content).save(local_only=False)
# IaGenifyError: storage_is_local

# This is the way: the file is written on the machine
pc.files.write("notes.md", content)

الـ افتراضي

فَهُوَ يَعْتَبِرُ ٱلْكِتَابُ ٱلْمُقَدَّسُ عَنْ عَوَاقِبِ ٱلْحَقِّ ٱلْمُقَدَّسَةِ لِذٰلِكَ ٱلْحَقِّ ، لِأَنَّهُ لَا يَسْتَطِيعُ أَنْ يَسْتَقِيمَهُمْ .

await api.getStorage();              // the default
await api.storage.remove(id);        // allowed even for the default
                                     // another storage inherits the flag
api.get_storage()             # the default
api.storage.remove(storage_id)  # allowed even for the default:
                                # another storage inherits the flag