mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
This commit is contained in:
parent
040df63c98
commit
4e2624459b
153 changed files with 10760 additions and 1695 deletions
|
@ -54,6 +54,9 @@ class PathView {
|
|||
Slice parent_dir() const {
|
||||
return path_.substr(0, last_slash_ + 1);
|
||||
}
|
||||
Slice parent_dir_noslash() const {
|
||||
return last_slash_ <= 0 ? td::Slice(".") : path_.substr(0, last_slash_);
|
||||
}
|
||||
|
||||
Slice extension() const {
|
||||
if (last_dot_ == static_cast<int32>(path_.size())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue