Overview
Comment: | Updated to compute number of children for each type of node so that things like "find" work reliably |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | tcl-ops |
Files: | files | file ages | folders |
SHA1: |
9e96bce5644f45a829f59b0904452487 |
User & Date: | rkeene on 2014-11-10 05:38:48 |
Other Links: | branch diff | manifest | tags |
Context
2014-11-10
| ||
05:43 | Additional handling of determing child count Closed-Leaf check-in: 5f4e904dfd user: rkeene tags: tcl-ops | |
05:38 | Updated to compute number of children for each type of node so that things like "find" work reliably check-in: 9e96bce564 user: rkeene tags: tcl-ops | |
05:30 | Simplified user fsuid switching check-in: 9562d42ae1 user: rkeene tags: tcl-ops | |
Changes
Modified appfsd.tcl from [969f157ddb] to [01f5038438].
︙ | |||
519 520 521 522 523 524 525 | 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 | - + - + - + - + - + | ::appfs::getindex $pathinfo(hostname) ::appfs::getpkgmanifest $pathinfo(hostname) $pathinfo(package_sha1) } switch -- $pathinfo(_type) { "toplevel" { set retval(type) directory |
︙ | |||
580 581 582 583 584 585 586 | 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 | - + | file lstat $localpath localpathinfo } set retval(time) $localpathinfo(mtime) switch -- $localpathinfo(type) { "directory" { set retval(type) "directory" |
︙ | |||
619 620 621 622 623 624 625 | 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 | - + | set retval(is_remotefile) 1 set work [split $pathinfo(file) "/"] set directory [join [lrange $work 0 end-1] "/"] set file [lindex $work end] if {$directory == "" && $file == ""} { |
︙ |