• Stars
    star
    453
  • Rank 96,573 (Top 2 %)
  • Language
    Clojure
  • Created almost 13 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

File system utilities for Clojure.

fs - File system utilities for Clojure

Build Status

API docs

This library defines some utilities for working with the file system in Clojure. Mostly, it wants to fill the gap that clojure.java.io leaves and add on (and prettify) what java.io.File provides.

Usage

This library is simple. It is just a collection of functions that do things with the file system. The one thing you should understand is *cwd*. This library wraps a lot of built-in Java file systemy things because it pays attention to the *cwd* as the current working directory. Java has no way to change the cwd of a JVM so if you want that behavior, you have to simulate it. This library tries to do that.

The foundation of the library is the file function. It is just like clojure.java.io/file, but it pays attention to the value of *cwd*.

This is 100% a utility library. If you have something useful that it doesn't already have, open a pull request, because I probably want it. Make sure you include tests. Also, make sure they pass.

fs is not an I/O utility library. We should try to keep things limited to file system activities.

Artifacts

Library artifacts are released to Clojars. If you are using Maven, add the following repository definition to your pom.xml:

<repository>
  <id>clojars.org</id>
  <url>http://clojars.org/repo</url>
</repository>

The Most Recent Release

With Leiningen:

[me.raynes/fs "1.4.6"]

With Maven:

<dependency>
  <groupId>me.raynes</groupId>
  <artifactId>fs</artifactId>
  <version>1.4.6</version>
</dependency>

License

Copyright (C) 2010-2013 Miki Tebeka, Anthony Grimes

Distributed under the Eclipse Public License, the same as Clojure.

More Repositories

1

conch

A flexible library for shelling out in Clojure
Clojure
542
star
2

tryclojure

A little web-based Clojure REPL powered by clojail.
HTML
400
star
3

tentacles

An Octocat is nothing without his tentacles
Clojure
351
star
4

clojail

A control freak's best friend
Clojure
211
star
5

lein-bin

Standalone console executables for your project.
Clojure
154
star
6

lazybot

An IRC bot written in Clojure.
Clojure
151
star
7

refheap

The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure
129
star
8

laser

HTML transformation/templating for people who do that sort of thing and stuff
Clojure
120
star
9

irclj

A simple and small IRC library/bot framework written in Clojure.
Clojure
84
star
10

bultitude

A namespace finder library.
Clojure
62
star
11

lein-pdo

Run multiple leiningen tasks in parallel.
Clojure
51
star
12

lein-newnew

A replacement for 'lein new' with templates.
Clojure
39
star
13

clj-github

Here lies clj-github. He is survived by his son, tentacles: https://github.com/Raynes/tentacles
Clojure
30
star
14

cegdown

A thin Clojure wrapper for the pegdown markdown parsing library
Clojure
25
star
15

findfn

Finding functions, because they're sexy.
Clojure
25
star
16

ororo

A simple and concise Clojure library for working with the Wunderground weather forecasting API.
Clojure
20
star
17

clavatar

A library for getting gravatar images in Clojure.
Clojure
19
star
18

least

A last.fm API client for Clojure
Clojure
12
star
19

gotmilk

A command-line application for working with Github without a browser.
Clojure
11
star
20

lein-gitify

A leiningen plugin for gitifying a project.
Clojure
10
star
21

clhue

An API client for controlling Hue light bulbs.
Clojure
10
star
22

refheap.vim

A Vim plugin for pasting to RefHeap.
Vim Script
10
star
23

moments

A cron-like task scheduling library using ScheduledExecutorServices and Chronicle.
Clojure
10
star
24

cereal

Simple serialization library with pluggable backends.
Clojure
10
star
25

slackhog

A backup tool for slack.
Clojure
9
star
26

yams

Rewrite of Erik's Amazon Echo RX-V receiver controller as an Alexandra app
Python
8
star
27

filevents

A file system watching library.
Clojure
8
star
28

rxvc

A lightspeed Yamaha RX-V series receiver controller for your command line
Python
8
star
29

refheap.el

An Emacs mode for pasting to https://refheap.com
Emacs Lisp
8
star
30

clj-config

A simple and small configuration library based around Clojure datastructures.
Clojure
7
star
31

morphin

Polymorphic ranges in Clojure
Clojure
7
star
32

basement

Extensible Python project scaffolding brought to you by mustache
Python
6
star
33

dox

A leiningen plugin for creating/updating gh-pages.
Clojure
6
star
34

innuendo

An API library for http://refheap.com
Clojure
6
star
35

hobbit

A Clojure library for interacting with all sorts of URL shortening services.
Clojure
6
star
36

turntable

A service for running SQL queries every n minutes.
Clojure
6
star
37

lein-findfn

Find things.
Clojure
5
star
38

webrepl

A Clojure REPL applet based on Beanshell's JConsole Swing component.
Java
5
star
39

fsutils

Haskell file manipulation utilities.
Haskell
5
star
40

rapture

A refheap command line tool written in Elixir
Elixir
5
star
41

awsenv-profiles

Simple AWS credential profile switcher.
Python
5
star
42

barrelroll

An ES6, atom-shell, hipster as a motherfucker consolidated desktop dashboard for your finances.
JavaScript
4
star
43

fucktheac

Air conditioner -> Chromecast volume control because why not
Python
4
star
44

reap

A refheap API client library in Elixir.
Elixir
4
star
45

areyoustillthere

Email validation for Python
Python
4
star
46

clonesearch

A tool for cloning github repos based on a search query.
Python
4
star
47

cassette

A great place to store sequential data, based on Kafka's storage format.
Clojure
4
star
48

pygments-tomorrow-night-bright

A tomorrow-night-bright color theme implementation for Pygments.
Python
4
star
49

updoc

A tool written in Clojure for generating an email from closed issues in a Github milestone and then emailing it to someone
Clojure
3
star
50

refh

A command-line tool for pasting to refheap.
Haskell
3
star
51

coffeefilter

Quick coffeescript to javascript compilation in Atom
CoffeeScript
3
star
52

closed

Open files in Atom with paths.
CoffeeScript
3
star
53

pyheap

Python implementaion of the Refheap API
Python
3
star
54

repl-in-chrome

Try repl in the chrome
JavaScript
2
star
55

haskheap

Haskell bindings to the refheap API
Haskell
2
star
56

intime

WIP time tracking restful web service.
JavaScript
2
star
57

octopress-blog

Experimental bloggy stuff
JavaScript
2
star
58

cake-autodoc

A plugin for generating autodoc documentation with cake.
Clojure
2
star
59

TConfig

A simple text-based key-value configuration library and parser.
Haskell
2
star
60

tallyho

A general score keeping application written in Clojure.
Clojure
2
star
61

lein-tag

Let lein tag your releases for you.
Clojure
2
star
62

dotemacsdotd

My .emacs.d folder
Emacs Lisp
2
star
63

vimfiles

My vimfiles.
Vim Script
1
star
64

cake-slamhound

A cake plugin for using slamhound.
Clojure
1
star
65

rubeque

Competitive learning site for ruby.
JavaScript
1
star
66

micdrop

A sound server for recording with a USB mic and streaming it.
JavaScript
1
star
67

clippard

Cross-platform copying to system clipboard.
Haskell
1
star
68

famine

sekrit
Elixir
1
star
69

beepy

Experimental beeline wrapper for Python (for Hive)
Python
1
star
70

amsin

A Python program for turning long amazon links into short amzn links.
Python
1
star
71

sherlock

A library for downloading and searching maven lucene indexes.
Clojure
1
star
72

explain

Dump the create table statement from a postgres (or redshift) instance.
Python
1
star
73

echolight

Presets for hue lights with Amazon Echo
Python
1
star
74

refheap-blog

The refheap octopress blog.
JavaScript
1
star
75

grunt-doxy

Markdown documentation generator plugin for grunt via dox and doxme
JavaScript
1
star
76

meteor-accounts-pg

Postgres/Redshift account adapter for Meteor accounts
CoffeeScript
1
star
77

quarantine

Isolated virtualenvs for Python programs.
Python
1
star
78

rubyheap

A Ruby API library for RefHeap.
Ruby
1
star
79

edited-tentacles-test2

I'm an edited test repository, just to make sure tentacles is working properly. Ignore me.
1
star
80

cake-github

A command-line interface to the Github API as a cake plugin. Tasty.
Clojure
1
star
81

udder

An utterance generator tool for Amazon Echo apps
JavaScript
1
star
82

Hricket

An implementation of Cricket in Haskell.
Haskell
1
star
83

lein-hammock

Hammock time!
Clojure
1
star
84

submodulize

An Elixir script for making a directory full of git repos into submodules
Elixir
1
star
85

mkvrename

A little tool for renaming mkv files in my television show ripping structure.
Clojure
1
star