From bc98ddb2b699682dffb5590f9c5e5b2bf36cb278 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 20 Aug 2016 17:51:58 -0700 Subject: 3229 - fake file systems using 'assume-filesystem' Built with Stephen Malina. --- 088file.mu | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '088file.mu') diff --git a/088file.mu b/088file.mu index b26ae438..4e3a6dec 100644 --- a/088file.mu +++ b/088file.mu @@ -2,7 +2,12 @@ # are thus easier to test. container filesystem [ - {data: (address table (address array character) (address array character))} + data:address:array:file-mapping +] + +container file-mapping [ + name:address:array:character + contents:address:array:character ] def start-reading fs:address:filesystem, filename:address:array:character -> contents:address:source:character [ -- cgit 1.4.1-2-gfad0