Last active
December 22, 2016 04:03
-
-
Save zhouqiang-cl/f4b5db4c2f28906b5660219464221682 to your computer and use it in GitHub Desktop.
common lisp 的函数 ENSURE-DIRECTORIES-EXIST
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
ensure-directories-exist pathspec &key verbose => pathspec, created | |
参数和值 | |
pathspec --- pathname的指示符 | |
verbose --- 一个 generalized boolean | |
created --- 一个 generalized boolean | |
描述 | |
测试 pathspec 的目录是否存在, 如果不存在, 就创建 | |
代码 | |
* (ENSURE-DIRECTORIES-EXIST "./x/y/x") | |
"./x/y/x" | |
T |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment