move file-systems word to core
parent
bbaa8b95bd
commit
78ab09d8bb
|
@ -8,8 +8,6 @@ TUPLE: file-system-info root-directory total-free-size total-size ;
|
||||||
|
|
||||||
HOOK: >file-system-info os ( struct -- statfs )
|
HOOK: >file-system-info os ( struct -- statfs )
|
||||||
|
|
||||||
HOOK: file-systems os ( -- array )
|
|
||||||
|
|
||||||
os {
|
os {
|
||||||
{ linux [ "unix.statfs.linux" require ] }
|
{ linux [ "unix.statfs.linux" require ] }
|
||||||
{ macosx [ "unix.statfs.macosx" require ] }
|
{ macosx [ "unix.statfs.macosx" require ] }
|
||||||
|
|
|
@ -184,6 +184,8 @@ SYMBOL: +unknown+
|
||||||
|
|
||||||
! File-system
|
! File-system
|
||||||
|
|
||||||
|
HOOK: file-systems os ( -- array )
|
||||||
|
|
||||||
TUPLE: file-system-info device-name mount-point type free-space ;
|
TUPLE: file-system-info device-name mount-point type free-space ;
|
||||||
|
|
||||||
HOOK: file-system-info os ( path -- file-system-info )
|
HOOK: file-system-info os ( path -- file-system-info )
|
||||||
|
|
Loading…
Reference in New Issue