|
CodeMatrix uses a standard hierarchical naming system
to identify files as illustrated in the following example.
Most of the notes below are particularly applicable when
using the command line interface (cx).
//cx/development/cxs/Branch.cpp
In this example;
// is the root folder designation.
"cx" is the repository name - the first node of the name
always represents a repository.
"development" and "cxs" are folder names.
"Branch.cpp" is the file name.
Notes:-
-
CodeMatrix names are case sensitive.
-
When entering names on a Windows platform
the characters / and \ are interchangeable, however
CodeMatrix always uses and returns the / separator
character.
-
CodeMatrix folders and workspaces have
similar properties to folders, and can appear within a
full file name wherever a folder might be used.
-
Folder is a synonym for directory.
-
The first entry after // always denotes a
repository.
Relative paths may also be used, for example;
Current folder = //cx/development
Specified path = cxs/Branch.cpp
Is equivalent to //cx/development/cxs/Branch.cpp
In relative paths the token ".." can be used
as shorthand for the folder above the current folder, and
"." for the current folder.
Relative paths are generally only applicable
when using the command line interface.
In some displays in the CXInsight, a revision number may be displayed, for
example;
//cx/development/cxs/Branch.cpp # 2
Each change to a file is recorded as a
revision, with revision 1 representing the original file
and so on. The example above indicates revision number 2
of the file Branch.cpp. Where a file is included in a
branch, a new sequence of revision numbers is started, so
a revision number only uniquely identifies a file revision
in a particular location.
See also:
Using CXInsight
Using the command line interface |