https://github.com/hashobject/ls
One-method library. Get all files in the given directory
https://github.com/hashobject/ls
Last synced: 7 months ago
JSON representation
One-method library. Get all files in the given directory
- Host: GitHub
- URL: https://github.com/hashobject/ls
- Owner: hashobject
- License: epl-1.0
- Created: 2013-10-04T20:45:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-04T21:11:52.000Z (over 12 years ago)
- Last Synced: 2025-07-02T07:16:41.702Z (9 months ago)
- Language: Clojure
- Size: 117 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ls
Clojure one-method library. Get all files in the given directory. Similar to UNIX `ls`.
Code retried from [marginalia](https://github.com/gdeer81/marginalia/blob/master/src/marginalia/core.clj#L51) for
reuse in other projects.
## Install
```
[ls "0.1.0"]
```
## Usage
```
user=> (use 'ls.core)
nil
user=> (ls .) ; get files in the current directory
(".git" ".gitignore" ".lein-failures" ".lein-repl-history" ".travis.yml" "LICENSE" "project.clj" "README.md" "src" "target" "test")
```
## Contributions
We love contributions. Please submit your pull requests.
## License
Copyright © 2013 Hashobject Ltd (team@hashobject.com).
Distributed under the [Eclipse Public License](http://opensource.org/licenses/eclipse-1.0).