/
githubmirror
/
FiraCode
Обзор
Документация
Войти
/
githubmirror
/
FiraCode
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
clojure/fira_code/files.clj
13 строк
324 B
Nikita Prokopov
Code formatting, tools.namespace -> clj-reload, clojure+
02 мар 2026, 19:43
02 мар 2026, 19:43
c74dd80
Код
Авторство
О чём код?
(ns fira-code.files (:refer-clojure :exclude [find]) (:require [clojure.java.io :as io] [clojure.string :as str]) (:import [java.io File])) (defn find [path re] (->> (file-seq (io/file path)) (next) ;; skip directory itself (filter #(re-matches re (File/.getPath %))) (sort-by File/.getPath)))