+
Point of view
All features
class CYGWIN_DIRECTORY_NOTATION
Summary
The Cygwin like file path notation looks like:
  //C/LibertyEiffel/sys/system.se
|*** I've never seen this notation. My cygwin uses plain old unix
|*** notation, windows drives are mapped to /cygdrive/c/ etc...
|*** <FM-23/03/2003>
|*** AFAIR that's the old b20 series <CAD 2005.11.18>
Direct parents
Inherit list: DIRECTORY_NOTATION
Overview
Features
{ANY}
{ANY}
{ANY}
{DIRECTORY_NOTATION}
{ANY}
{ANY}
is_current_directory (path: STRING): BOOLEAN
effective function
{ANY}
is_parent_directory (path: STRING): BOOLEAN
effective function
{ANY}
to_parent_directory (some_path: STRING)
effective procedure
{ANY}
Tries to compute in some_path (which may be either a file path or a directory path) the parent directory of some_path.
to_subdirectory_with (parent_path: STRING, entry_name: STRING)
effective procedure
{ANY}
Try to compute in parent_path the new subdirectory path obtained when trying to concatenate smartly parent_path with some entry_name.
to_file_path_with (parent_path: STRING, file_name: STRING)
effective procedure
{ANY}
Try to compute in parent_path the new file path obtained when trying to concatenate smartly parent_path with some file_name.
to_subpath_with (parent_path: STRING, subpath: STRING)
effective procedure
{ANY}
Try to compute in parent_path the new file path obtained when trying to concatenate smartly parent_path with some subpath.
to_directory_path (path: STRING)
effective procedure
{ANY}
Make sure that the given path is a canonical directory path as would be returned by to_subdirectory_with
to_short_name_in (buffer: STRING, path: STRING)
effective procedure
{ANY}
can_map_drive (source_notation: DIRECTORY_NOTATION, drive: STRING): BOOLEAN
effective function
{ANY}
to_root (source_notation: DIRECTORY_NOTATION, drive: STRING)
effective procedure
{ANY}
Convert drive from a drive letter/device name in source_notation to an absolute path in Current notation.
to_default_root (directory: STRING)
effective procedure
{ANY}
to_current_directory (directory: STRING)
effective procedure
{ANY}
Put the relative directory representing the current working directory into directory.
is_case_sensitive: BOOLEAN
is True
constant attribute
{ANY}
is_valid_path (path: STRING): BOOLEAN
effective function
{ANY}
Does path represent a syntactically valid file or directory path?
is_valid_directory_path (path: STRING): BOOLEAN
effective function
{ANY}
Does path represent a syntactically valid directory path?
is_valid_file_name (name: STRING): BOOLEAN
effective function
{ANY}
Does path only contain valid characters for a file?
is_absolute_path (path: STRING): BOOLEAN
effective function
{ANY}
Is path absolute, i.e.
to_notation (path: STRING, destination_notation: DIRECTORY_NOTATION): STRING
effective function
to_absolute_path_in (possible_parent: STRING, path: STRING)
frozen
effective procedure
{ANY}
If path is not absolute, make it so by appending it to possible_parent.
from_notation (source_notation: DIRECTORY_NOTATION, path: STRING)
frozen
effective procedure
{ANY}
Convert path from source_notation to Current notation.
can_sanitize (name: STRING): BOOLEAN
effective function
{ANY}
to_valid_file_name (name: STRING)
effective procedure
{ANY}
Sanitize name (by removing forbidden characters or encoding them)