|
18 | 18 | [yamlscript.externals :as ext] |
19 | 19 | [yamlscript.global :as global] |
20 | 20 | [yamlscript.util :as util] |
| 21 | + [ys.fs :as fs] |
21 | 22 | [ys.http :as http] |
22 | 23 | [ys.ys :as ys]) |
23 | 24 | (:import java.security.MessageDigest |
|
744 | 745 | (defmacro &&& [x & xs] `(and? ~x ~@xs)) |
745 | 746 |
|
746 | 747 |
|
| 748 | +;;------------------------------------------------------------------------------ |
| 749 | +;; File system functions |
| 750 | +;;------------------------------------------------------------------------------ |
| 751 | +(intern 'ys.std 'fs-d fs/d) |
| 752 | +(intern 'ys.std 'fs-e fs/e) |
| 753 | +(intern 'ys.std 'fs-f fs/f) |
| 754 | +(intern 'ys.std 'fs-l fs/l) |
| 755 | +(intern 'ys.std 'fs-r fs/r) |
| 756 | +(intern 'ys.std 'fs-s fs/s) |
| 757 | +(intern 'ys.std 'fs-w fs/w) |
| 758 | +(intern 'ys.std 'fs-x fs/x) |
| 759 | +(intern 'ys.std 'fs-z fs/z) |
| 760 | +(intern 'ys.std 'fs-abs fs/abs) |
| 761 | +(intern 'ys.std 'fs-abs? fs/abs?) |
| 762 | +(intern 'ys.std 'fs-dirname fs/dirname) |
| 763 | +(intern 'ys.std 'fs-filename fs/filename) |
| 764 | +(intern 'ys.std 'fs-basename fs/basename) |
| 765 | +(intern 'ys.std 'fs-glob fs/glob) |
| 766 | +(intern 'ys.std 'fs-ls fs/ls) |
| 767 | +(intern 'ys.std 'fs-mtime fs/mtime) |
| 768 | +(intern 'ys.std 'fs-rel fs/rel) |
| 769 | +(intern 'ys.std 'fs-rel? fs/rel?) |
| 770 | +(intern 'ys.std 'fs-which fs/which) |
| 771 | + |
| 772 | + |
747 | 773 | ;;------------------------------------------------------------------------------ |
748 | 774 | ;; Date/Time functions |
749 | 775 | ;;------------------------------------------------------------------------------ |
|
0 commit comments