io.files.info: load io.files.info.unix if we're on Unix. Fixes long-standing no-method error on file-info
parent
6e3812b563
commit
e19461d410
|
@ -26,7 +26,7 @@ available-space free-space used-space total-space ;
|
|||
HOOK: file-system-info os ( path -- file-system-info )
|
||||
|
||||
{
|
||||
{ [ os unix? ] [ "io.files.info" ] }
|
||||
{ [ os unix? ] [ "io.files.info.unix" ] }
|
||||
{ [ os windows? ] [ "io.files.info.windows" ] }
|
||||
} cond require
|
||||
|
||||
|
|
Loading…
Reference in New Issue