Skip to main content

to_clipboard_string

Function to_clipboard_string 

Source
pub fn to_clipboard_string(
    loc: &S3Location,
    _profile_display_name: &str,
) -> String
Expand description

Produce the aws-cli-compatible s3:// string for clipboard use.

Uses the raw (un-encoded) bucket name and key/prefix so users can paste directly into a terminal command (aws s3 cp s3://bucket/key ./).