diff options
| author | Eran Mizrahi <erasmux@gmail.com> | 2017-12-09 01:26:50 +0200 |
|---|---|---|
| committer | Eran Mizrahi <erasmux@gmail.com> | 2017-12-10 02:53:19 +0200 |
| commit | 89b1f1d48dd05b372abca64b311b1107f044a897 (patch) | |
| tree | 1c14168bfb9813d4bb1c5fd082a63ca25350a8c6 /src/usvfsconnector.cpp | |
| parent | b75e3c12318267be1589cee5e13a9fc89b0097b1 (diff) | |
add logging of process spawn
Diffstat (limited to 'src/usvfsconnector.cpp')
| -rw-r--r-- | src/usvfsconnector.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usvfsconnector.cpp b/src/usvfsconnector.cpp index b90784d9..ffbdf3aa 100644 --- a/src/usvfsconnector.cpp +++ b/src/usvfsconnector.cpp @@ -158,6 +158,10 @@ void UsvfsConnector::updateMapping(const MappingType &mapping) progress.setMaximum(static_cast<int>(mapping.size())); progress.show(); int value = 0; + int files = 0; + int dirs = 0; + + qDebug("Updating VFS mappings..."); ClearVirtualMappings(); @@ -173,11 +177,15 @@ void UsvfsConnector::updateMapping(const MappingType &mapping) (map.createTarget ? LINKFLAG_CREATETARGET : 0) | LINKFLAG_RECURSIVE ); + ++dirs; } else { VirtualLinkFile(map.source.toStdWString().c_str(), map.destination.toStdWString().c_str(), 0); + ++files; } } + + qDebug("VFS mappings updated <linked %d dirs, %d files>", dirs, files); /* size_t dumpSize = 0; CreateVFSDump(nullptr, &dumpSize); |
