blob: d19a00f1e6fc5649b646ea970127c15d17a1118a [file] [log] [blame]
Nico Huber1d7727f2023-11-30 15:58:46 +01001package FS.FILO.Ext2 is
2
3 Sane_And_Mounted : Boolean with Ghost; -- TODO: track what FS type is mounted in FS.FILO
4
5 procedure Mount (Success : out Boolean)
6 with
7 Post => (if Success then Sane_And_Mounted);
8
9 procedure Open (File_Path : String; Success : out Boolean)
10 with
11 Pre => Sane_And_Mounted;
12 procedure Close
13 with
14 Convention => C,
15 Pre => Sane_And_Mounted;
16
17 procedure Read (Buf : out Buffer_Type; Len : out Natural)
18 with
19 Pre => Sane_And_Mounted;
20
21end FS.FILO.Ext2;