diff options
author | hjk <[email protected]> | 2024-12-06 14:53:54 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2024-12-09 08:58:25 +0000 |
commit | 5fad41873e1fdf205186ea335e62a2eee64df1b8 (patch) | |
tree | 101c63069fd97555c4f0d6862a944298eb35ca31 /src/plugins/docker/dockerdevice.h | |
parent | 015c1475422c10643995b883b40a243e1f1f95ce (diff) |
Utils: Add FilePath::isLocal() and use it instead of !needsDevice()
"needsDevice()" is an odd name, but keep it for now until downstream
has caught up.
Change-Id: I1fdb65d55e84e31512edb8f0bea8a0a3f7b2879c
Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/plugins/docker/dockerdevice.h')
-rw-r--r-- | src/plugins/docker/dockerdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/docker/dockerdevice.h b/src/plugins/docker/dockerdevice.h index b738ac41b05..0f929bdaf6c 100644 --- a/src/plugins/docker/dockerdevice.h +++ b/src/plugins/docker/dockerdevice.h @@ -41,7 +41,7 @@ public: bool canMount(const Utils::FilePath &filePath) const override { - return !filePath.needsDevice() || filePath.isSameDevice(rootPath()); + return filePath.isLocal() || filePath.isSameDevice(rootPath()); } bool handlesFile(const Utils::FilePath &filePath) const override; |