Empty directory: Difference between revisions

Added 11l
(Add min)
(Added 11l)
Line 4:
An empty directory contains no files nor subdirectories.
With [[Unix]] or [[Windows]] systems, every directory contains an entry for “<code>.</code>” and almost every directory contains “<code>..</code>” (except for a root directory); an empty directory contains no other entries.
 
=={{header|11l}}==
<lang 11l>I fs:list_dir(input()).empty
print(‘empty’)
E
print(‘not empty’)</lang>
 
=={{header|Ada}}==
1,480

edits