Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

feat: Add EvalSymlinks to fix link related tests #64

Merged
merged 6 commits into from
Aug 3, 2021
Merged

Conversation

JinnyYi
Copy link
Contributor

@JinnyYi JinnyYi commented Aug 1, 2021

ref: #62

// If path is relative the result will be relative to the current directory,
// unless one of the components is an absolute symbolic link.
// EvalSymlinks calls Clean on the result.
func EvalSymlinks(path string) (string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about keeping in fs package and don't export this function? We don't want outside users depends on this function.

go.mod Outdated
@@ -3,8 +3,8 @@ module github.com/beyondstorage/go-service-fs/v3
go 1.15

require (
github.com/beyondstorage/go-integration-test/v4 v4.2.0
github.com/beyondstorage/go-storage/v4 v4.3.2
github.com/beyondstorage/go-integration-test/v4 v4.2.1-0.20210728064741-17203b58d96c
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we need to release a verion?

@Xuanwo Xuanwo changed the title Add EvalSymlinks feat: Add EvalSymlinks Aug 3, 2021
@Xuanwo Xuanwo changed the title feat: Add EvalSymlinks feat: Add EvalSymlinks to fix link related tests Aug 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants