All our services should support two kinds of paths:
- Relative Path: all of them are the subpath of
- Absolute Path: mostly start with
/just like in Linux.
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 this issue.