LisaacTM Platform

DIRECTORY_UNIX


Directory management
Inherit/Insert Summary
parent_entry_unix
parent_directory
parent_entry
parent_object No developed.
 
Constructor Summary
create_time
create_date
create_file
 
Slot Summary
is_open
physical_get_entry
physical_make_directory
physical_make_file
physical_remove
physical_move to
access
access_time
access_date
update_time
update_date
path
name
string_tmp
string_tmp2
set_path
reduce_path
list
alias
 
Scanning
open
Return FILE or DIRECTORY, NULL:error. Return FILE or DIRECTORY, NULL:error.
 
Path.
dirname
 
type.
is_directory
is_file
 
Alias Entry.
get_parent_path in
 
Manager.
remove_me
remove
Remove file or directory (WARNING: delete recursive)
move to
get_entry
 
Indexing.
lower
Minimum index.
upper
 
Maximum index.
valid_index
True when index is valid (ie. inside actual bounds of the collection).
 
Counting.
count
Number of available indices.
is_empty
Is collection empty ?
 
Accessing.
item
Item at the corresponding index i.
first
The very first item.
last
The last item.
parent
 
Writing:
make_directory
make_file
 
Display.
print
 

Inherit/Insert Detail

parent_entry_unix

.../base/file_system/TARGET/unix/directory_unix.li line #22

Section:
Inherit

Profile:
+ SelfSELFparent_entry_unix :Expanded  ENTRY_UNIX

parent_directory

.../base/file_system/TARGET/unix/directory_unix.li line #24

Section:
Inherit

Profile:
+ SelfSELFparent_directory :Expanded  DIRECTORY

parent_entry

.../base/file_system/TARGET/unix/entry_unix.li line #15

Section:
Inherit

Profile:
+ SelfSELFparent_entry :Expanded  ENTRY

parent_object

.../base/file_system/entry.li line #11

Section:
Inherit

Profile:
- SelfSELFparent_object : OBJECT

Constructor Detail

create_time

.../base/file_system/TARGET/unix/entry_unix.li line #77

Section:
Public

Profile:
- SelfSELFcreate_time : TIME

create_date

.../base/file_system/TARGET/unix/entry_unix.li line #89

Section:
Public

Profile:
- SelfSELFcreate_date : DATE

create_file

.../base/file_system/directory.li line #236

Section:
Public

Profile:
- SelfSELFcreate_file   p : ABSTRACT_STRINGFILE

Detail slot

is_open

.../base/file_system/TARGET/unix/directory_unix.li line #28

Section:
Public

Profile:
- SelfSELFis_open : BOOLEAN

physical_get_entry

.../base/file_system/TARGET/unix/directory_unix.li line #84

Section:
DIRECTORY

Profile:
- SelfSELFphysical_get_entry   new_path : ABSTRACT_STRINGENTRY

physical_make_directory

.../base/file_system/TARGET/unix/directory_unix.li line #125

Section:
DIRECTORY

Profile:
- SelfSELFphysical_make_directory   new_path : ABSTRACT_STRINGBOOLEAN

physical_make_file

.../base/file_system/TARGET/unix/directory_unix.li line #131

Section:
DIRECTORY

Profile:
- SelfSELFphysical_make_file   new_path : ABSTRACT_STRINGBOOLEAN

physical_remove

.../base/file_system/TARGET/unix/directory_unix.li line #144

Section:
DIRECTORY

Profile:
- SelfSELFphysical_remove   p : ABSTRACT_STRINGBOOLEAN

physical_move to

.../base/file_system/TARGET/unix/directory_unix.li line #150

Section:
DIRECTORY

Profile:
- SelfSELFphysical_move   old_path : ABSTRACT_STRING  to   new_path : ABSTRACT_STRINGBOOLEAN

access

.../base/file_system/TARGET/unix/entry_unix.li line #19

Section:
Public

Profile:
- SelfSELFaccess : UINTEGER_16

access_time

.../base/file_system/TARGET/unix/entry_unix.li line #29

Section:
Public

Profile:
- SelfSELFaccess_time : TIME

access_date

.../base/file_system/TARGET/unix/entry_unix.li line #41

Section:
Public

Profile:
- SelfSELFaccess_date : DATE

update_time

.../base/file_system/TARGET/unix/entry_unix.li line #53

Section:
Public

Profile:
- SelfSELFupdate_time : TIME

update_date

.../base/file_system/TARGET/unix/entry_unix.li line #65

Section:
Public

Profile:
- SelfSELFupdate_date : DATE

path

.../base/file_system/entry.li line #19

Section:
Public

Profile:
+ SelfSELFpath : STRING_CONSTANT

name

.../base/file_system/entry.li line #21

Section:
Public

Profile:
+ SelfSELFname : STRING_CONSTANT

string_tmp

.../base/file_system/entry.li line #79

Section:
ENTRY

Profile:
- SelfSELFstring_tmp : STRING

string_tmp2

.../base/file_system/entry.li line #81

Section:
ENTRY

Profile:
- SelfSELFstring_tmp2 : STRING

set_path

.../base/file_system/entry.li line #83

Section:
ENTRY

Profile:
- SelfSELFset_path   n : ABSTRACT_STRING

reduce_path

.../base/file_system/entry.li line #93

Section:
ENTRY

Profile:
- SelfSELFreduce_path   st : STRING

list

.../base/file_system/directory.li line #16

Section:
DIRECTORY

Profile:
+ SelfSELFlist : LINKED_LISTENTRY)

alias

.../base/file_system/directory.li line #18

Section:
DIRECTORY

Profile:
- SelfSELFalias : HASHED_DICTIONARYENTRYABSTRACT_STRING)

Scanning

open

.../base/file_system/TARGET/unix/directory_unix.li line #34

Section:
Public

Profile:
- SelfSELFopen : BOOLEAN

Description:
Return FILE or DIRECTORY, NULL:error. Return FILE or DIRECTORY, NULL:error.

Path.

dirname

.../base/file_system/entry.li line #23

Section:
Public

Profile:
- SelfSELFdirname : STRING

type.

is_directory

.../base/file_system/entry.li line #50

Section:
Public

Profile:
- SelfSELFis_directory : BOOLEAN

is_file

.../base/file_system/entry.li line #59

Section:
Public

Profile:
- SelfSELFis_file : BOOLEAN

Alias Entry.

get_parent_path in

.../base/file_system/entry.li line #194

Section:
ENTRY

Profile:
- SelfSELFget_parent_path   p : ABSTRACT_STRING  in   tmp : STRING

Manager.

remove_me

.../base/file_system/directory.li line #27

Section:
Public

Profile:
- SelfSELFremove_me 

remove

.../base/file_system/directory.li line #29

Section:
Public

Profile:
- SelfSELFremove   p : ABSTRACT_STRINGBOOLEAN

Description:
Remove file or directory (WARNING: delete recursive)

move to

.../base/file_system/directory.li line #62

Section:
Public

Profile:
- SelfSELFmove   old_path : ABSTRACT_STRING  to   new_path : ABSTRACT_STRINGBOOLEAN

get_entry

.../base/file_system/directory.li line #85

Section:
Public

Profile:
- SelfSELFget_entry   p : ABSTRACT_STRINGENTRY

Indexing.

lower

.../base/file_system/directory.li line #129

Section:
Public

Profile:
- SelfSELFlower : INTEGER

Description:
Minimum index.

upper

.../base/file_system/directory.li line #132

Section:
Public

Profile:
- SelfSELFupper : INTEGER

Maximum index.

valid_index

.../base/file_system/directory.li line #142

Section:
Public

Profile:
- SelfSELFvalid_index   index : INTEGERBOOLEAN

Description:
True when index is valid (ie. inside actual bounds of the collection).

Counting.

count

.../base/file_system/directory.li line #160

Section:
Public

Profile:
- SelfSELFcount : INTEGER

Description:
Number of available indices.

is_empty

.../base/file_system/directory.li line #163

Section:
Public

Profile:
- SelfSELFis_empty : BOOLEAN

Description:
Is collection empty ?

Accessing.

item

.../base/file_system/directory.li line #170

Section:
Public

Profile:
- SelfSELFitem   i : INTEGERENTRY

Description:
Item at the corresponding index i.

first

.../base/file_system/directory.li line #180

Section:
Public

Profile:
- SelfSELFfirst : ENTRY

Description:
The very first item.

last

.../base/file_system/directory.li line #191

Section:
Public

Profile:
- SelfSELFlast : ENTRY

Description:
The last item.

parent

.../base/file_system/directory.li line #201

Section:
Public

Profile:
- SelfSELFparent : ENTRY

Writing:

make_directory

.../base/file_system/directory.li line #210

Section:
Public

Profile:
- SelfSELFmake_directory   p : ABSTRACT_STRINGDIRECTORY

make_file

.../base/file_system/directory.li line #223

Section:
Public

Profile:
- SelfSELFmake_file   p : ABSTRACT_STRINGFILE

Display.

print

.../base/file_system/directory.li line #245

Section:
Public

Profile:
- SelfSELFprint