about summary refs log tree commit diff stats
path: root/088file.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-20 17:51:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-20 17:51:58 -0700
commitbc98ddb2b699682dffb5590f9c5e5b2bf36cb278 (patch)
treea614f3c0f669d9b3129c9b0e65f0f27ce99be860 /088file.mu
parent10f415a60a130ceefc4ce0f32155507763e6cee6 (diff)
downloadmu-bc98ddb2b699682dffb5590f9c5e5b2bf36cb278.tar.gz
3229 - fake file systems using 'assume-filesystem'
Built with Stephen Malina.
Diffstat (limited to '088file.mu')
-rw-r--r--088file.mu7
1 files changed, 6 insertions, 1 deletions
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 [