mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 02:47:35 +00:00
FileManager: Make the tree view follow the directory view navigations.
This commit is contained in:
parent
f10e0d0546
commit
2c6a597d77
10 changed files with 72 additions and 3 deletions
|
@ -40,6 +40,7 @@ bool FileSystemPath::canonicalize(bool resolve_symbolic_links)
|
|||
builder.append('/');
|
||||
builder.append(cpart);
|
||||
}
|
||||
m_parts = move(canonical_parts);
|
||||
m_string = builder.to_string();
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -14,9 +14,12 @@ public:
|
|||
|
||||
String basename() const { return m_basename; }
|
||||
|
||||
const Vector<String>& parts() const { return m_parts; }
|
||||
|
||||
private:
|
||||
bool canonicalize(bool resolve_symbolic_links = false);
|
||||
|
||||
Vector<String> m_parts;
|
||||
String m_string;
|
||||
String m_basename;
|
||||
bool m_is_valid { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue