Changeset f47b545
- Timestamp:
- 12/08/11 21:15:12 (5 months ago)
- Branches:
- master
- Children:
- 3d030ee
- Parents:
- c37741a
- git-author:
- Michiel Rook <mrook@…> (12/08/11 21:15:12)
- git-committer:
- Michiel Rook <mrook@…> (12/08/11 21:15:12)
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
classes/phing/tasks/system/AvailableTask.php
r4f0388d rf47b545 46 46 private $type = null; 47 47 private $filepath = null; 48 49 private $followSymlinks = false; 48 50 49 51 function setProperty($property) { … … 65 67 function setType($type) { 66 68 $this->type = (string) strtolower($type); 69 } 70 71 public function setFollowSymlinks($followSymlinks) 72 { 73 $this->followSymlinks = (bool) $followSymlinks; 67 74 } 68 75 … … 141 148 142 149 private function _checkFile1(PhingFile $file) { 150 // Resolve symbolic links 151 if ($this->followSymlinks && $file->isLink()) { 152 $file = new PhingFile($file->getLinkTarget()); 153 } 154 143 155 if ($this->type !== null) { 144 156 if ($this->type === "dir") { -
docs/phing_guide/book/chapters/appendixes/AppendixB-CoreTasks.html
r730cf45 rf47b545 247 247 <td>No</td> 248 248 </tr> 249 <tr> 250 <td>followSymlinks</td> 251 <td>Boolean</td> 252 <td>Whether to dereference symbolic links when looking up <em>file</em>.</td> 253 <td>false</td> 254 <td>No</td> 255 </tr> 249 256 </tbody> 250 257 </table>
Note: See TracChangeset
for help on using the changeset viewer.
