Skip to content

Commit 32775e0

Browse files
committed
add import helper on file (wip)
1 parent 68979a9 commit 32775e0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/file.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,4 +220,13 @@ File.prototype.refresh = function() {
220220
// @todo
221221
};
222222

223+
224+
/**
225+
* Refreshing symbols
226+
*/
227+
File.import = function(repository, data) {
228+
// @todo
229+
return new File(repository, data.name);
230+
};
231+
223232
module.exports = File;

0 commit comments

Comments
 (0)