Skip to content

Commit 488c8e8

Browse files
committed
Update docstring
1 parent d59bdff commit 488c8e8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,12 +1104,11 @@ public void UpdateResultView(IEnumerable<ResultsForUpdate> resultsForUpdates)
11041104
}
11051105

11061106
/// <summary>
1107-
/// This is the global copy method for an individual result. If no text is passed,
1108-
/// the method will work out what is to be copied based on the result, so plugin can offer the text
1109-
/// to be copied via the result model. If the text is a directory/file path,
1110-
/// then actual file/folder will be copied instead.
1111-
/// The result's subtitle text is the default text to be copied
1107+
/// Copies the specified file or folder path to the clipboard, or the specified text if it is not a valid file or folder path.
1108+
/// Shows a message indicating whether the operation was completed successfully.
11121109
/// </summary>
1110+
/// <param name="stringToCopy">The file or folder path, or text to copy to the clipboard.</param>
1111+
/// <returns>Nothing.</returns>
11131112
public void ResultCopy(string stringToCopy)
11141113
{
11151114
if (string.IsNullOrEmpty(stringToCopy))

0 commit comments

Comments
 (0)