Liking cljdoc? Tell your friends :D

glob

Finds files based on glob patterns like "*.jpg" or "/usr/*/se*". Similar to glob in Perl, Ruby, and PHP.

Usage

(ns foo.bar
  (:use org.satta.glob))

(glob "*.{jpg,gif}")

(glob ".*")  ; dot files are not included by default

(glob "/usr/*/se*")  ; works on directories and subdirectories

Installation

Add this dependency to your project.clj:

[clj-glob "0.1.0"]

Caveats

Untested on Windows.

License

EPL

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close