Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Define free_space_skip_unjail_path in Jail and Wrapper
  • Loading branch information
RoggerTan committed May 11, 2022
commit 9dbbbda3f43f482248caf67793d581f1a1008883
4 changes: 4 additions & 0 deletions lib/private/Files/Storage/Wrapper/Jail.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,10 @@ public function free_space($path) {
return $this->getWrapperStorage()->free_space($this->getUnjailedPath($path));
}

public function free_space_skip_unjail_path($path) {
return $this->getWrapperStorage()->free_space($path);
}

/**
* search for occurrences of $query in file names
*
Expand Down
4 changes: 4 additions & 0 deletions lib/private/Files/Storage/Wrapper/Wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ public function free_space($path) {
return $this->getWrapperStorage()->free_space($path);
}

public function free_space_skip_unjail_path($path) {
return $this->getWrapperStorage()->free_space_skip_unjail_path($path);
}

/**
* search for occurrences of $query in file names
*
Expand Down