convert to R list
| 61 | |
| 62 | // convert to R list |
| 63 | List toList() const { |
| 64 | List fileInfo; |
| 65 | fileInfo["path"] = path_; |
| 66 | fileInfo["exists"] = exists_; |
| 67 | fileInfo["lastModified"] = lastModified_; |
| 68 | return fileInfo; |
| 69 | } |
| 70 | |
| 71 | std::string path() const { return path_; } |
| 72 | bool exists() const { return exists_; } |
no outgoing calls
no test coverage detected