Changeset 78112 in vbox
- Timestamp:
- Apr 11, 2019 2:16:53 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r78039 r78112 3500 3500 return setError(E_INVALIDARG, tr("No directory to remove recursively specified")); 3501 3501 3502 uint32_t fFlags = DIRREMOVEREC_FLAG_NONE; 3502 /* By default only delete empty directory structures, e.g. the operation will abort if there are 3503 * directories which are not empty. */ 3504 uint32_t fFlags = DIRREMOVEREC_FLAG_RECURSIVE; 3503 3505 if (aFlags.size()) 3504 3506 { … … 3511 3513 3512 3514 case DirectoryRemoveRecFlag_ContentAndDir: 3513 fFlags = DIRREMOVEREC_FLAG_RECURSIVE |DIRREMOVEREC_FLAG_CONTENT_AND_DIR;3515 fFlags |= DIRREMOVEREC_FLAG_CONTENT_AND_DIR; 3514 3516 break; 3515 3517 3516 3518 case DirectoryRemoveRecFlag_ContentOnly: 3517 fFlags = DIRREMOVEREC_FLAG_RECURSIVE |DIRREMOVEREC_FLAG_CONTENT_ONLY;3519 fFlags |= DIRREMOVEREC_FLAG_CONTENT_ONLY; 3518 3520 break; 3519 3521
Note:
See TracChangeset
for help on using the changeset viewer.