タグ

よく使われているワード(クリックで追加)

javaandroidc++linuxc#windowsobjective-ccocoaqtpython誰得phprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

最近の作業部屋活動履歴

2023-03-26
2023-03-25
2023-03-23

最近のWikiの更新 (Recent Changes)

2023-03-26
2023-03-19
2023-03-14
2023-03-11

Wikiガイド(Guide)

サイドバー (Side Bar)

Trash API

The Trash module provides a common interface for sending files to the operating systems concept of a "recycle bin".

Module Contents

void trash(string path)

This will send the specified file (path) to the operating system's recycle bin.

If the file doesn't exist, or we don't have permission to move the file, then FileException is thrown.

void trash(string path, out string pathInTrash)

NOTE: The pathInTrash parameter is only used on POSIX.

This will send the specified file (path) to the operating system's recycle bin. You can also find out the pathInTrash, which tells you the absolute path to the file in the recycle bin.

If the file doesn't exist, or we don't have permission to move the file, then FileException is thrown.

void erase(string path)

A convenience function which will erase the file from the operating system. Any files which are erased cannot be restored.