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

Specify the behavior of Path #649

Closed
Xuanwo opened this issue Jul 3, 2021 · 2 comments
Closed

Specify the behavior of Path #649

Xuanwo opened this issue Jul 3, 2021 · 2 comments
Labels
proposal Introduce a big change

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Jul 3, 2021

All our services should support two kinds of paths:

  • Relative Path: all of them are the subpath of WorkDir.
  • Absolute Path: mostly start with / just like in Linux.

And WorkDir is always an absolute path.

We add this rule for:

  • symlink support
  • user friendly

According to path separator, we need to support both unix and windows style. But we will make sure all path in Object is the unix style.

@Xuanwo Xuanwo transferred this issue from beyondstorage/specs Jul 9, 2021
@Xuanwo
Copy link
Contributor Author

Xuanwo commented Aug 22, 2021

beyondstorage/go-service-ftp#22 is related to this issue.

@Xuanwo Xuanwo changed the title Specify the behavior of WorkDir Specify the behavior of Path Aug 22, 2021
@Xuanwo Xuanwo added the proposal Introduce a big change label Aug 22, 2021
@Xuanwo
Copy link
Contributor Author

Xuanwo commented Sep 1, 2021

Moved to https://forum.beyondstorage.io/t/specify-the-behavior-of-path/195

BeyondStorage
All our services should support two kinds of paths: Relative Path: all of them are the subpath of WorkDir. Absolute Path: mostly start with / just like in Linux. And WorkDir is always an absolute path. We add this rule for: symlink support user friendly According to path separator, we need to support both unix and windows style. But we will make sure all path in Object is the unix style. OS-specific path separator problem · Issue #22 · beyondstorage/go-service-ftp · GitHub is related to ...

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

No branches or pull requests

1 participant