Skip to content

Commit

Permalink
fix(file): add toInternalURL (#1561)
Browse files Browse the repository at this point in the history
* Put back toInternalURL

What was the reason to remove `toInternalURL` from `Entry`?
Fixes #1560

* Remove trailing whitespace
  • Loading branch information
troyanskiy authored and ihadeed committed May 15, 2017
1 parent bd1794d commit 7c79712
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/@ionic-native/plugins/file/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7c79712

Please sign in to comment.