Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.1.0] Implement describeKey for more actions #21421

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@ protected void computeKey(
}
}

@Override
public String describeKey() {
return String.format("GUID: %s\ninputPath: %s\n", GUID, inputPath);
}

@Override
public String getMnemonic() {
return targetType == TargetType.EXECUTABLE ? "ExecutableSymlink" : "Symlink";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@ protected void computeKey(
}
}

@Override
public String describeKey() {
return String.format(
"GUID: %s\nmakeExecutable: %s\ntemplate: %s\nsubstitutions: %s\n",
GUID, makeExecutable, template.getKey(), substitutions);
}

@Override
public String getMnemonic() {
return "TemplateExpand";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ protected void computeKey(
fp.addPath(target);
}

@Override
public String describeKey() {
return String.format("GUID: %s\ntarget: %s\n", GUID, target);
}

@Override
public String getMnemonic() {
return "UnresolvedSymlink";
Expand Down
Loading