DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦5d243ca0e⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Directory_Implementation, seg_0252a7, seg_027c56, seg_027cf1

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Calendar;
package Directory_Implementation is

    function Scan_Directory
                (Path : in String; Pattern : in String := ".*") return Integer;

    function Create_File (Path : in String;
                          Owner_Permissions : in Integer;
                          Group_Permissions : in Integer;
                          Other_Permissions : in Integer) return Boolean;
    function Create_Directory (Path : in String;
                               Owner_Permissions : in Integer;
                               Group_Permissions : in Integer;
                               Other_Permissions : in Integer) return Boolean;

    function Copy_Directory
                (The_Path : in String; To_Path : in String) return Boolean;
    function Copy_File
                (The_Path : in String; To_Path : in String) return Boolean;

    function Move (The_Path : in String; To_Path : in String) return Boolean;

    function Delete_File (Path : in String) return Boolean;
    function Delete_Directory (Path : in String) return Boolean;

    function Existent_Entry (Path : in String) return Boolean;

    function Entry_Value (Iter : in Integer) return String;

    function Entry_Size (Path : in String) return Integer;
    function Number_Of_Links (Path : in String) return Integer;

    function Entry_Username (Path : in String) return String;
    function Entry_Groupname (Path : in String) return String;

    function Time_Of_Last_Update (Path : in String) return Calendar.Time;
    function Time_Of_Last_Read (Path : in String) return Calendar.Time;

    function Is_Directory (Path : in String) return Boolean;
    function Is_File (Path : in String) return Boolean;
    function Is_Bloc_Special_File (Path : in String) return Boolean;
    function Is_Character_Special_File (Path : in String) return Boolean;
    function Is_Fifo (Path : in String) return Boolean;
    function Is_Socket (Path : in String) return Boolean;
    function Is_Symbolic_Link (Path : in String) return Boolean;
    function Is_Multiplex_Character_Special_File
                (Path : in String) return Boolean;

    function Entry_Owner_Permissions (Path : in String) return Integer;
    function Entry_Group_Permissions (Path : in String) return Integer;
    function Entry_Other_Permissions (Path : in String) return Integer;
    procedure Change_Owner_Permissions (Path : in String; Mode : in Integer);
    procedure Change_Group_Permissions (Path : in String; Mode : in Integer);
    procedure Change_Other_Permissions (Path : in String; Mode : in Integer);

    function Change_Directory (Path : in String) return Boolean;

    function Get_Home_Directory return String;
    function Get_Absolute_Path (The_Path : in String) return String;
    function Get_Error_Message return String;

end Directory_Implementation;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=18 rec1=00 rec2=01 rec3=04a
        [0x01] rec0=03 rec1=00 rec2=02 rec3=002
        [0x02] rec0=14 rec1=00 rec2=03 rec3=022
        [0x03] rec0=11 rec1=00 rec2=04 rec3=000
    tail 0x217201d9c839f6fc310a7 0x42a00088462060003