Minor change in ls-path.
This commit is contained in:
parent
3c200d4db9
commit
66907428e0
4
ls.scm
4
ls.scm
|
@ -61,7 +61,9 @@
|
|||
(file-directory? path #f))) ;; or not
|
||||
(ls-directory path all? recursive? long? directory? flag? columns? port))
|
||||
(else
|
||||
(ls-file (cons path (file-info path #f)) long? flag? port))))
|
||||
(if (or long? flag?) ;; see LS-DIRECTORY for details
|
||||
(ls-file (cons path (file-info path #f)) long? flag? port)
|
||||
(ls-file (cons path #f) long? flag? port)))))
|
||||
|
||||
(define (ls-directory directory all? recursive? long? directory? flag? columns? port)
|
||||
; terminology: a FILE-NAME is the name of a file
|
||||
|
|
Loading…
Reference in New Issue