Index: ui/file_manager/file_manager/common/js/util.js |
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js |
index fe46d0d10ae0bfea81b6ece64b34ac068548e49d..f3e698d638e2eb30f5addc0efe1847ec47762fea 100644 |
--- a/ui/file_manager/file_manager/common/js/util.js |
+++ b/ui/file_manager/file_manager/common/js/util.js |
@@ -680,28 +680,6 @@ |
if (!entry1 || !entry2) |
return false; |
return entry1.toURL() === entry2.toURL(); |
-}; |
- |
-/** |
- * Compares two entry arrays. |
- * @param {Array<!Entry>} entries1 The entry array to be compared. |
- * @param {Array<!Entry>} entries2 The entry array to be compared. |
- * @return {boolean} True if the both arrays contain same files or directories |
- * in the same order. Returns true if both arrays are null. |
- */ |
-util.isSameEntries = function(entries1, entries2) { |
- if (!entries1 && !entries2) |
- return true; |
- if (!entries1 || !entries2) |
- return false; |
- if (entries1.length !== entries2.length) |
- return false; |
- for (var i = 0; i < entries1.length; i++) { |
- if (!util.isSameEntry(entries1[i], entries2[i])) { |
- return false; |
- } |
- } |
- return true; |
}; |
/** |