| 141 | } |
| 142 | |
| 143 | int FileObject::SetDir(bool bisDir) { |
| 144 | if (isDir() == bisDir) |
| 145 | return 0; |
| 146 | |
| 147 | if (!bisDir && GetChildCount() > 0) //proven to be directory |
| 148 | return -1; |
| 149 | |
| 150 | m_isDir = bisDir; |
| 151 | |
| 152 | return 0; |
| 153 | } |
| 154 | |
| 155 | bool FileObject::isLink() const { |
| 156 | return m_isLink; |
nothing calls this directly
no outgoing calls
no test coverage detected