]> gitweb.factorcode.org Git - factor.git/commitdiff
io.backend/pathnames: fix help lint
authorSlava Pestov <slava@shill.local>
Sat, 17 Oct 2009 05:09:57 +0000 (00:09 -0500)
committerSlava Pestov <slava@shill.local>
Sat, 17 Oct 2009 05:09:57 +0000 (00:09 -0500)
core/io/backend/backend.factor
core/io/pathnames/pathnames-docs.factor

index 84d1f52b9caec53491da3d2632c73371502ddb1a..494ccbff22853c73eb35ef983894ddf5ee846135 100644 (file)
@@ -21,9 +21,9 @@ HOOK: init-stdio io-backend ( -- )
 
 HOOK: io-multiplex io-backend ( us -- )
 
-HOOK: normalize-directory io-backend ( str -- newstr )
+HOOK: normalize-directory io-backend ( path -- path' )
 
-HOOK: normalize-path io-backend ( str -- newstr )
+HOOK: normalize-path io-backend ( path -- path' )
 
 M: object normalize-directory normalize-path ;
 
index 8b293da3ccb197e279875a46ecbfc8cda89ce8d6..889f2262a82136a1d08bebcd7ea51ea13b0e4c0d 100644 (file)
@@ -89,7 +89,7 @@ HELP: pathname
 { $class-description "Class of path name objects. Path name objects can be created by calling " { $link <pathname> } "." } ;
 
 HELP: normalize-path
-{ $values { "string" "a pathname string" } { "string'" "a new pathname string" } }
+{ $values { "path" "a pathname string" } { "path'" "a new pathname string" } }
 { $description "Prepends the " { $link current-directory } " to the pathname, resolves a " { $snippet "resource:" } " or " { $snippet "voacb:" } " prefix, if present, and performs any platform-specific pathname normalization." }
 { $notes "High-level words, such as " { $link <file-reader> } " and " { $link delete-file } " call this word for you. It only needs to be called directly when passing pathnames to C functions or external processes. This is because Factor does not use the operating system's notion of a current directory, and instead maintains its own dynamically-scoped " { $link current-directory } " variable." }
 { $notes "On Windows NT platforms, this word does prepends the Unicode path prefix." }