mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
added support for 0 based sequential ids to our object db.
This commit is contained in:
parent
a0c7ccfe7c
commit
c6fa3cc02b
17 changed files with 375 additions and 29 deletions
|
@ -13,7 +13,7 @@ namespace NzbDrone.Core.RootFolders
|
|||
{
|
||||
List<RootFolder> All();
|
||||
RootFolder Add(RootFolder rootDir);
|
||||
void Remove(long rootDirId);
|
||||
void Remove(int rootDirId);
|
||||
List<String> GetUnmappedFolders(string path);
|
||||
Dictionary<string, ulong> FreeSpaceOnDrives();
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ namespace NzbDrone.Core.RootFolders
|
|||
return rootFolder;
|
||||
}
|
||||
|
||||
public virtual void Remove(long rootDirId)
|
||||
public virtual void Remove(int rootDirId)
|
||||
{
|
||||
_rootFolderRepository.Delete(rootDirId);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue