Overview
Comment: | Cleanup to callbacks |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e592c85e70b2dcd8407d1b3f7b994ea9 |
User & Date: | rkeene on 2019-09-20 16:39:20 |
Other Links: | manifest | tags |
Context
2019-09-20
| ||
16:39 | Added example of a synthetic filesystem creation check-in: c8742de968 user: rkeene tags: trunk | |
16:39 | Cleanup to callbacks check-in: e592c85e70 user: rkeene tags: trunk | |
16:18 | Support adding additional output files from callbacks check-in: d8e00cd4a3 user: rkeene tags: trunk | |
Changes
Modified lib/xvfs/xvfs.tcl from [5164175ffc] to [13bdfa17c6].
︙ | |||
167 168 169 170 171 172 173 | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | - + | } set inputFile [file join $workingDirectory $file] set outputFile [file join $outputDirectory [encoding convertto utf-8 $file]] if {[info command ::xvfs::callback::setOutputFileName] ne ""} { set outputFile [::xvfs::callback::setOutputFileName $file $workingDirectory $inputFile $outputDirectory $outputFile] |
︙ | |||
197 198 199 200 201 202 203 | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 | + + + + + - - - + + + - - + + + - + | foreach subDirectory $subDirectories { lappend outputFiles {*}[processDirectory $fsName $directory $subDirectory] } set inputFile $directory set outputFile $outputDirectory if {[info command ::xvfs::callback::setOutputFileName] ne ""} { set outputFile [::xvfs::callback::setOutputFileName $directory $directory $inputFile $outputDirectory $outputFile] } if {$outputFile ne "/"} { |
︙ | |||
265 266 267 268 269 270 271 | 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | - + - + | ## 3. Start processing directory and producing initial output set ::xvfs::outputFiles [processDirectory $fsName $rootDirectory] set ::xvfs::fsName $fsName set ::xvfs::rootDirectory $rootDirectory } |
︙ |
Modified xvfs-create from [1d3473f00d] to [9613c501f1].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | - + | set fd [open $outputFile w] ::xvfs::setOutputChannel $fd } if {[info exists headerFile]} { ::xvfs::staticIncludeHeader $headerFile } |
︙ |