Stellarator-Tools
Loading...
Searching...
No Matches
file_opts.f File Reference

Contains module file_opts. More...

Modules

module  file_opts
 Contains cross platform routines for manipulating files on the file system. Defines a functions to move, copy and delete a file that is cross platform. While, system contains a crossplatform way to call a command line commands, the command used will vary by platform.

Functions/Subroutines

subroutine file_opts::move_file (file_source, file_dest, error)
 Moves the source file to the destination.
subroutine file_opts::copy_file (file_source, file_dest, error)
 Copies the source file to the destination.
subroutine file_opts::delete_file (file_source, error)
 Deletes a file.
subroutine file_opts::create_directory (directory_source, error)
 Makes a directory.
subroutine file_opts::delete_directory (directory_source, error)
 Deletes a directory.
logical function file_opts::is_absolute_path (path)
 Queries if the a path is absoulte.
character(len=path_length) function file_opts::get_path_of_file (file)
 Returns the directory of a file.
character(len=path_length) function file_opts::build_path (path, name)
 Builds a path.
subroutine file_opts::change_directory (path, error)
 Change working directory.

Variables

integer, parameter file_opts::path_length = 300
 Length of file paths.

Detailed Description

Contains module file_opts.