1 module.exports = getType
3 function getType (st) {
8 'Link', // special for hardlinks from tarballs
16 if (st.type && types.indexOf(st.type) !== -1) {
21 for (var i = 0, l = types.length; i < l; i++) {
23 var is = st[type] || st['is' + type]
24 if (typeof is === 'function') is = is.call(st)