Revert file path empty
This commit is contained in:
parent
50d099f9f1
commit
09f6f44b86
@ -661,7 +661,14 @@ int64 FileView::remote_size() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
string FileView::path() const {
|
string FileView::path() const {
|
||||||
return "";
|
switch (node_->local_.type()) {
|
||||||
|
case LocalFileLocation::Type::Full:
|
||||||
|
return node_->local_.full().path_;
|
||||||
|
case LocalFileLocation::Type::Partial:
|
||||||
|
return node_->local_.partial().path_;
|
||||||
|
default:
|
||||||
|
return "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FileView::has_url() const {
|
bool FileView::has_url() const {
|
||||||
|
Reference in New Issue
Block a user