| 162 | } |
| 163 | |
| 164 | bool GetFileSize(string const & fName, uint64_t & sz) |
| 165 | { |
| 166 | try |
| 167 | { |
| 168 | typedef FileData fdata_t; |
| 169 | fdata_t f(fName, fdata_t::Op::READ); |
| 170 | sz = f.Size(); |
| 171 | return true; |
| 172 | } |
| 173 | catch (RootException const &) |
| 174 | { |
| 175 | // supress all exceptions here |
| 176 | return false; |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | namespace |
| 181 | { |