From f59f28d78861dc7aa861f3333eecf7e31075dcfa Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 16 Feb 2010 19:01:44 -0800 Subject: [PATCH] io.pathnames: make absolute-path? public --- core/io/pathnames/pathnames.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/io/pathnames/pathnames.factor b/core/io/pathnames/pathnames.factor index 5a9c647973..2be66ef186 100644 --- a/core/io/pathnames/pathnames.factor +++ b/core/io/pathnames/pathnames.factor @@ -76,6 +76,8 @@ ERROR: no-parent-directory path ; [ f ] } cond ; +PRIVATE> + : absolute-path? ( path -- ? ) { { [ dup empty? ] [ f ] } @@ -85,8 +87,6 @@ ERROR: no-parent-directory path ; [ f ] } cond nip ; -PRIVATE> - : append-path ( path1 path2 -- path ) { { [ over empty? ] [ append-path-empty ] }