From 7c797123f56dff4f583180af50419fcf1c2b7460 Mon Sep 17 00:00:00 2001 From: Raman Rasliuk Date: Mon, 15 May 2017 10:55:06 +0200 Subject: [PATCH] fix(file): add toInternalURL (#1561) * Put back toInternalURL What was the reason to remove `toInternalURL` from `Entry`? Fixes #1560 * Remove trailing whitespace --- src/@ionic-native/plugins/file/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/@ionic-native/plugins/file/index.ts b/src/@ionic-native/plugins/file/index.ts index 63d1021b9..c330d0752 100644 --- a/src/@ionic-native/plugins/file/index.ts +++ b/src/@ionic-native/plugins/file/index.ts @@ -159,6 +159,12 @@ export interface Entry { */ toURL(): string; + /** + * Return a URL that can be passed across the bridge to identify this entry. + * @return string URL that can be passed across the bridge to identify this entry + */ + toInternalURL(): string; + /** * Deletes a file or directory. It is an error to attempt to delete a directory that is not empty. It is an error to attempt to delete the root directory of a filesystem. * @param successCallback A callback that is called on success.