Eskil

Check-in [14d04d7a3f]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Plugin for gz files.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 14d04d7a3f4bd8f6e250c7bf3e1284e6ba55cb9212342536265f93c3ddb35d7a
User & Date: peter 2020-04-14 07:48:00
Context
2020-04-15
16:53
Do not traverse a unique side in dir diff. check-in: 7f991dd793 user: peter tags: trunk
2020-04-14
07:48
Plugin for gz files. check-in: 14d04d7a3f user: peter tags: trunk
2020-02-15
23:44
Syntax fix check-in: 60dc0dc612 user: peter tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added plugins/gunzip.tcl.









































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##Eskil Plugin : Compare gzip file
#
# This plugin unpacks input gzip file before comparing.

# Example file for a plugin.
# A plugin's first line must start exactly like this one.
# The text after : is the summary you can get at the command line

# A plugin must define this procedure to do the job.
# side: left or right
# chi:  An input channel for reading the original file.
# cho:  An output channel for writing the processed file.
proc PreProcess {side chi cho} {
    zlib push gunzip $chi
    chan copy $chi $cho

    # Signal that the file after processing should be used both
    # for comparison and for displaying.
    return 1
}