Overview
Comment: | Updated to be more tolerant of future expansions to the manifest format |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
859f8f6c5439fefbe1f345bb2c2a63a3 |
User & Date: | rkeene on 2014-11-11 05:16:12 |
Other Links: | manifest | tags |
Context
2014-11-11
| ||
17:17 | Made manifest checking more stringent check-in: cd9fca5677 user: rkeene tags: trunk | |
05:16 | Updated to be more tolerant of future expansions to the manifest format check-in: 859f8f6c54 user: rkeene tags: trunk | |
05:11 | Updated allow future versions to deal with manifests that are not linked from the index file check-in: 34f1255a38 user: rkeene tags: trunk | |
Changes
Modified appfsd.tcl from [1afaa96f65] to [60c35bda95].
︙ | ︙ | |||
348 349 350 351 352 353 354 355 356 357 358 359 360 361 | set fileInfo(sha1) [lindex $work 2] set work [lrange $work 3 end] } "symlink" { set fileInfo(source) [lindex $work 0] set work [lrange $work 1 end] } } set fileInfo(name) [join $work ","] set fileInfo(name) [split [string trim $fileInfo(name) "/"] "/"] set fileInfo(directory) [join [lrange $fileInfo(name) 0 end-1] "/"] set fileInfo(name) [lindex $fileInfo(name) end] | > > > > > > > > > > > > > > > > | 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 | set fileInfo(sha1) [lindex $work 2] set work [lrange $work 3 end] } "symlink" { set fileInfo(source) [lindex $work 0] set work [lrange $work 1 end] } "directory" { # No extra data required } default { # Handle unknown types if {[string index $fileInfo(type) 0] == "#"} { # Metadata type, ignore # it if we don't # understand this type continue } else { # Unknown type, # generate an error error "Manifest cannot be parsed" } } } set fileInfo(name) [join $work ","] set fileInfo(name) [split [string trim $fileInfo(name) "/"] "/"] set fileInfo(directory) [join [lrange $fileInfo(name) 0 end-1] "/"] set fileInfo(name) [lindex $fileInfo(name) end] |
︙ | ︙ |