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

ls: add --show-fullpath flag #599

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Conversation

denizsurmeli
Copy link
Contributor

@denizsurmeli denizsurmeli commented Jul 18, 2023

Resolves #596 .

@denizsurmeli denizsurmeli marked this pull request as ready for review July 18, 2023 18:51
@denizsurmeli denizsurmeli requested a review from a team as a code owner July 18, 2023 18:51
@denizsurmeli denizsurmeli requested review from ilkinulas and sonmezonur and removed request for a team July 18, 2023 18:51
e2e/ls_test.go Outdated Show resolved Hide resolved
@ilkinulas ilkinulas merged commit 7006118 into peak:master Jul 20, 2023
19 checks passed
@ilkinulas ilkinulas added this to the v2.2.0 milestone Jul 20, 2023
Comment on lines +253 to +255
if l.showFullPath {
return l.Object.URL.String()
}
Copy link
Member

@igungor igungor Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if that's what we want. I expected ls command output as-is, but keys are absolute instead of relative. With this flag, we only print full path without date and etag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flatten list?
4 participants