File::Utils

A Raku module for converting various File system properties to symbolic form. For instance symbolic-perms(…) will give you the .rwxr-xr-x type representation……

File::Utils

Table of Contents

NAME

File::Utils

AUTHOR

Francis Grizzly Smit ([email protected])

VERSION

0.1.3

TITLE

File::Utils

SUBTITLE

A Raku module for converting various File system properties to symbolic form.

COPYRIGHT

LGPL V3.0+ LICENSE

Top of Document

Introduction

A Raku module for converting various File system properties to symbolic form. For instance symbolic-perms(…) will give you the .rwxr-xr-x type representation of the file type and permissions like used by ls and exa. And format-bytes(…) will convert the file size from bytes B to TiB, GiB etc.

Top of Document

CorruptFile

CorruptFile is an exception class to be used if a corrupt file is encountered.

class CorruptFile is Exception is export {
    has Str:D $.msg = 'Error: File is Corrupt';
    method message( --> Str:D) {
        $!msg;
    }
}

Top of Document

File::Utils v0.1.0

A Raku module for converting various File system properties to symbolic form. For instance symbolic-perms(…) will give you the .rwxr-xr-x type representation……

Authors

  • Francis Grizzly Smit

License

LGPL-3.0-or-later

Dependencies

Terminal::ANSIGzz::Text::Utils

Test Dependencies

Provides

  • File::Utils

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.