document file-systems

db4
Doug Coleman 2008-11-11 15:41:27 -06:00
parent 5490b730b5
commit 0edfc83d50
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
USING: help.markup help.syntax io strings
io.backend io.files.private quotations ;
USING: help.markup help.syntax io strings arrays io.backend
io.files.private quotations ;
IN: io.files
ARTICLE: "file-streams" "Reading and writing files"
@ -323,6 +323,10 @@ HELP: with-directory-files
{ $values { "path" "a pathname string" } { "quot" quotation } }
{ $description "Calls the quotation with the directory file names on the stack and with the directory set as the " { $link current-directory } ". Restores the current directory after the quotation is called." } ;
HELP: file-systems
{ $values { "array" array } }
{ $description "Returns an array of " { $link file-system-info } " objects returned by iterating the mount points and calling " { $link file-system-info } " on each." } ;
HELP: file-system-info
{ $values
{ "path" "a pathname string" }