Shinmera / file-attributes

Access to common file attributes (uid, gid, permissions, ctime, mtime, atime)

Home Page:https://shinmera.github.io/file-attributes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

## About File-Attributes
This is a small OS portability library to retrieve and set file attributes not supported by the Lisp standard functions.

## How To
Simply use the functions ``access-time``, ``modification-time``, and ``creation-time`` to access the relevant timestamps. Some stamps may not be accessible or modifiable depending on your OS or file system.

In order to manage attribute information, use ``owner``, ``group``, and ``attributes``. The values used are OS specific for these functions, though the attributes flag can be decoded and encoded via a standardised form with ``decode-attributes`` and ``encode-attributes``.

Any of the above operations may signal an error if the file does not exist, is inaccessible, the operation is not possible, or some other failure occurred.

About

Access to common file attributes (uid, gid, permissions, ctime, mtime, atime)

https://shinmera.github.io/file-attributes

License:zlib License


Languages

Language:Common Lisp 97.6%Language:C 2.4%