This library tries to provide Clojure code for handling the file system.
It has most of the functionality found in java.io.File influenced by Python's os.path and shutil.
- abspath
Return absolute path
- basename
Return the last part of path
- chmod
Set/unset permission on path
- copy
Copy a file
- copy+
Copy a files, create directories if needed
- copy-tree
Copy directory tree, return path of created directory
- cwd
Return the current working directory
- delete
Delete path, return path
- directory?
True if path is a directory
- dirname
Return directory name
- executable?
Check if path is executable
- exists?
Check if path exists
- file?
True if path is a file
- glob
ls like operator
- home
User home directory
- iterdir
Return a sequence of [root dirs files] from path
- join
Join part to path
- listdir
List files under directory
- mkdir
Create directory, return its path
- mtime
File modification time
- mkdirs
Create directory tree
- normpath
Return normalized (canonical) path
- readable?
Check if path is readable
- rename
Rename path, return path of the new file
- separator
Path separator
- size
File size
- split
Split path to parts
- tempdir
Create temporary directory, return its path
- tempfile
Create temporary file, return its path
- touch
Change file modification time, return its path
- walk
Walk over directory structure, calling function on every step
- writeable?
Check if path is writable
Miki Tebeka <miki.tebeka@gmail.com> Justin Kramer <jkkramer@gmail.com> (glob->regexp)
Copyright (C) 2010 Miki Tebeka <miki.tebeka@gmail.com>
Distributed under the Eclipse Public License, the same as Clojure.