Did you know ...
Search Documentation:
Predicate directory_must_exist/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
dialect
sicstus4
aggregate.pl -- SICStus 4 library(aggregate).
between.pl -- SICStus 4 library(between).
clpfd.pl -- SICStus 4 library(clpfd)
file_systems.pl -- SICStus 4 library(file_systems).
rename_file/2
rename_directory/2
delete_file/1
delete_directory/2
directory_exists/1
directory_exists/2
file_exists/1
file_exists/2
file_must_exist/1
file_must_exist/2
directory_must_exist/1
directory_must_exist/2
directory_member_of_directory/2
directory_member_of_directory/3
directory_member_of_directory/4
file_member_of_directory/2
file_member_of_directory/3
file_member_of_directory/4
directory_members_of_directory/1
directory_members_of_directory/2
directory_members_of_directory/3
file_members_of_directory/1
file_members_of_directory/2
file_members_of_directory/3
file_property/2
file_property/3
directory_property/2
directory_property/3
current_directory/1
current_directory/2
system.pl -- SICStus 4-compatible library(system).
lists.pl -- SICStus 4-compatible library(lists).
ordsets.pl -- SICStus 4 library(ordsets).
samsort.pl -- SICStus 4 library(samsort).
sets.pl -- SICStus 4 library(sets).
sockets.pl -- SICStus 4-compatible library(sockets).
terms.pl -- SICStus 4-compatible library(terms).
timeout.pl -- SICStus 4-compatible library(timeout).
types.pl -- SICStus 4 library(types).
directory_must_exist
(+Directory)
is
det
directory_must_exist
(+Directory, +Mode)
is
det
Ensure that a directory exists at path
Directory
and can be accessed according to
Mode
(defaults to
exist
). Otherwise an exception is thrown. Accepts the same access modes as
absolute_file_name/3
's
access
option.