nuxed / filesystem
Nuxed Filesystem
Installs: 1 158
Dependents: 4
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Language:Hack
Requires
- hhvm: ~4.83.1 || ~4.84.0
- hhvm/hsl: ^4.41
- hhvm/hsl-experimental: ^4.66.0
- hhvm/hsl-io: ~0.2.1
Requires (Dev)
- facebook/difflib: ^1.1.1
- facebook/fbexpect: ^2.7.7
- facebook/hh-clilib: ^2.5.2
- hhvm/hacktest: ^2.0
- hhvm/hhast: ^4.82.2
- hhvm/hhvm-autoload: ^3.1.6
- hhvm/type-assert: ^4.1.2
- nuxed/crypto: ^2.0
This package is auto-updated.
Last update: 2024-12-22 07:58:47 UTC
README
Nuxed Filesystem
The Nuxed Filesystem component provides classes that interact with the local filesystem. Specialized classes can be used to read data, write data, alter permissions, rename files, copy, create, delete, move, traverse, and many more through an easy to use interface.
Installation
This package can be installed with Composer.
$ composer require nuxed/filesystem
Example
use namespace Nuxed\Filesystem; <<__EntryPoint>> async function main(): Awaitable<void> { $file = new Filesystem\File('file.txt'); await $file->create(0755); $file->write('Hello, World!'); print await $file->read(5); // Hello $parent = $file->parent(); await $parent->flush(); $file->exists(); // false }
Security
For information on reporting security vulnerabilities in Nuxed, see SECURITY.md.
License
Nuxed is open-sourced software licensed under the MIT-licensed.