forked from qt-creator/qt-creator
Docker: Accept more ways to identify a docker FilePath
Accept (percent-encoded) repo:tag, the image id or the device id as host() part of a docker FilePath. Task-number: QTCREATORBUG-26856 Change-Id: I27d374be31d54bab77d129e19884b7f7fd93daa0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -37,10 +37,8 @@ namespace Internal {
|
||||
class DockerDeviceData
|
||||
{
|
||||
public:
|
||||
// Used for "docker run" and for host parts of FilePaths
|
||||
QString dockerId() const;
|
||||
// Used as autodetection source string
|
||||
QString autodetectId() const { return "docker:" + dockerId(); }
|
||||
// Used for "docker run"
|
||||
QString repoAndTag() const;
|
||||
|
||||
QString imageId;
|
||||
QString repo;
|
||||
|
||||
Reference in New Issue
Block a user