MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / GetCopyPathsRecursively

Method GetCopyPathsRecursively

PathCopyCopy/src/PathCopyCopySettings.cpp:533–545  ·  view source on GitHub ↗

Checks whether to copy paths recursively. @return true if we need to copy paths recursively.

Source from the content-addressed store, hash-verified

531 // @return true if we need to copy paths recursively.
532 //
533 bool Settings::GetCopyPathsRecursively() const
534 {
535 // Perform late-revising.
536 Revise();
537
538 // Check if value exists. If so, read it, otherwise use default value.
539 bool copyPathsRecursively = SETTING_COPY_PATHS_RECURSIVELY_DEFAULT;
540 DWORD regCopyPathsRecursively = 0;
541 if (m_UserKey.QueryDWORDValue(SETTING_COPY_PATHS_RECURSIVELY, regCopyPathsRecursively) == ERROR_SUCCESS) {
542 copyPathsRecursively = regCopyPathsRecursively != 0;
543 }
544 return copyPathsRecursively;
545 }
546
547 //
548 // Returns the string to use between each path copied. An empty string

Callers

nothing calls this directly

Calls 1

QueryDWORDValueMethod · 0.45

Tested by

no test coverage detected