using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Humanizer.Bytes;
using JumpPoint.Platform.Items;

namespace JumpPoint.Uwp.Converters
{
    public static class StringConverter
    {
        //public static string GetSize(ulong? size, JumpPointItemType itemType)
        //{
        //    switch (itemType)
        //    {
        //        case JumpPointItemType.Drive:

        //            break;

        //        case JumpPointItemType.Folder:
        //            return size.HasValue ?
        //                ByteSize.FromBytes(Convert.ToDouble(size.Value)).ToString("#.##") :
        //                string.Empty;

        //        case JumpPointItemType.File:
        //            break;

        //        case JumpPointItemType.Workspace:
        //        case JumpPointItemType.SettingLink:
        //        case JumpPointItemType.AppLink:
        //        case JumpPointItemType.Library:
        //        case JumpPointItemType.Unknown:
        //        default:
        //            return string.Empty;
        //    }
        //}
    }
}
