Skip to content

Comparison interface

Braincoke edited this page Aug 5, 2015 · 7 revisions

Whether you opened an existing project or created a new one, you will eventually see the comparison interface.

Search field and search results

The search field allows you to filter files. At the moment no regular expression filtering is implemented. The search will filter files containing the search term in their path. To apply the filter, press enter.

For example if you search the term documents, the search listing could output the following files:

  • C:\Users\Braincoke\documents\github.txt
  • home/braincoke/documents/github.txt
  • C:\Program Files (x86)\Java\lib\javafx\documents.xml

In addition to the search term, you can filter matched, modified, deleted and created files. To do so click on the filter icon in the search field and check the status you would like to see displayed in the results.

Note that if the search field is empty, pressing Enter will have the effect to select all files and pass them to the status filter. For instance, an empty search field with the "Matched" and "Created" status filters checked will display every "Matched" and "Created" file.

Breadcrumbs

The breadcrumbs is updated whenever you double-click on a file or a directory in the explorer tab, or in the search results listing. The breadcrumbs allows you to quickly see the path of the selected file.

Explorer tab

On the left hand side of the window you have the explorer tab and the project tab. The explorer tab allows you to browse the comparison.

Status pills

In front of each directory in the explorer tab you will see at least one coloured circle. This circle indicates the status of the directory. A directory can have multiple statuses and they can be:

  • Matched (grey circle)
  • Modified (golden circle)
  • Created (green circle)
  • Deleted (red circle)

For instance a directory with the "Created" circle indicates that this directory holds a file (which can be in a subdirectory) that was created. If you put your mouse on the circle, it will expand into a pill showing the number of created files that the directory contains.

A file has only one status and you can see it with the coloured square displayed next to the file name.

Explorer filter

The explorer possess its own filter. You can display the filter by clicking on the filter icon (the icon that looks like a funnel).

By checking a status in the filter options you allow the status to be displayed. For instance if you only check the "Created" status, you will only get folders that contains created files, and these folders will only display created files.

Project tab

This tab displays information about the hashed file systems and the comparison. You can open this tab by clicking on the tab named "Project Tab".

Content viewer (in development)

The content viewer is placed just below the search results listing. It has two tabs: "Hex" and "Strings". The "Hex" tab displays the hexadecimal dump of the selected file. The "Strings" tab displays the output of the file run through the "strings" command, i.e. it will look in the hexdump for ASCII and UNICODE characters next to each other.

IMPORTANT NOTE: The hex viewer and the Strings viewer are still features in development.