RootDirProvider.GetMostFreeRootDir() will calculate the find the RootDir with the most free space and return its path.

This commit is contained in:
Mark McDowall 2011-10-15 11:54:39 -07:00
commit b3abcb6096
2 changed files with 23 additions and 0 deletions

View file

@ -9,5 +9,8 @@ namespace NzbDrone.Core.Repository
public virtual int Id { get; set; }
public string Path { get; set; }
[ResultColumn]
public ulong FreeSpace { get; set; }
}
}