File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -236,6 +236,11 @@ export interface DatabaseItem {
236236 */
237237 getSourceLocationPrefix ( server : cli . CodeQLCliServer ) : Promise < string > ;
238238
239+ /**
240+ * Returns dataset folder of exported database.
241+ */
242+ getDatasetFolder ( server : cli . CodeQLCliServer ) : Promise < string > ;
243+
239244 /**
240245 * Returns the root uri of the virtual filesystem for this database's source archive,
241246 * as displayed in the filesystem explorer.
@@ -385,6 +390,14 @@ class DatabaseItemImpl implements DatabaseItem {
385390 return dbInfo . sourceLocationPrefix ;
386391 }
387392
393+ /**
394+ * Returns path to dataset folder of database.
395+ */
396+ public async getDatasetFolder ( server : cli . CodeQLCliServer ) : Promise < string > {
397+ const dbInfo = await this . getDbInfo ( server ) ;
398+ return dbInfo . datasetFolder ;
399+ }
400+
388401 /**
389402 * Returns the root uri of the virtual filesystem for this database's source archive.
390403 */
You can’t perform that action at this time.
0 commit comments