aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
index ad55c44..933d40a 100644
--- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
@@ -107,6 +107,23 @@ namespace OpenSim.Framework.Communications.Cache
107 } 107 }
108 108
109 /// <summary> 109 /// <summary>
110 /// Get a child folder
111 /// </summary>
112 /// <param name="folderID"></param>
113 /// <returns>The folder if it exists, null if it doesn't</returns>
114 public InventoryFolderImpl GetChildFolder(UUID folderID)
115 {
116 InventoryFolderImpl folder = null;
117
118 lock (SubFolders)
119 {
120 SubFolders.TryGetValue(folderID, out folder);
121 }
122
123 return folder;
124 }
125
126 /// <summary>
110 /// Removes the given child subfolder. 127 /// Removes the given child subfolder.
111 /// </summary> 128 /// </summary>
112 /// <param name="folderID"></param> 129 /// <param name="folderID"></param>