-
Notifications
You must be signed in to change notification settings - Fork 15
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
Main rfs #2079
Main rfs #2079
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ import ( | |
) | ||
|
||
const ( | ||
fsTypeRfs = "fuse.rfs" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is not correct, this require a change to the idea was to be able to tell |
||
fsTypeG8ufs = "fuse.g8ufs" | ||
fsTypeOverlay = "overlay" | ||
) | ||
|
@@ -116,7 +117,7 @@ func (f *flistModule) resolve(path string) (g8ufsInfo, error) { | |
return g8ufsInfo{}, err | ||
} | ||
|
||
if info.FSType == fsTypeG8ufs { | ||
if info.FSType == fsTypeG8ufs || info.FSType == fsTypeRfs { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this means this is not deeded since both are defined as fuse.g8ufs |
||
return info.AsG8ufs(), nil | ||
} else if info.FSType == fsTypeOverlay { | ||
overlay := info.AsOverlay() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add an
else
case here so we return an error if the url extension is unknown