You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Initializes a new LSFileWrapper of type File.
27
+
*/
23
28
- (id)initFile;
29
+
30
+
/**
31
+
* @brief Initializes a new LSFileWrapper of type Directory.
32
+
*/
24
33
- (id)initDirectory;
34
+
35
+
/**
36
+
* @brief Loads and initializes LSFileWrapper with the contents of supplied url.
37
+
*
38
+
* @param url The origin url from which LSFileWrapper should be loaded.
39
+
* @param isDir Boolean indicating whether the passed url is a Directory. When unknown NO should be passed, as the method will automatically detect the correct wrapper type based on the supplied url.
* @brief Adds a new child wrapper with the supplied name to the current LSFileWrapper. If a wrapper is already present with the same name, then the new wrapper will be saved under the returned named to prevent collisions.
142
+
*
143
+
* @warning Should only be called on the LSFileWrapper of type Directory.
144
+
* @warning Actual returned wrapper name may be different than supplied filename.
145
+
*
146
+
* @param fileWrapper Child wrapper which should be added to current LSFileWrapper as LSFileWrapper.
147
+
* @param filename Desired name of the child wrapper.
148
+
*
149
+
* @return Nil on error or the name of the added child wrapper as NSString.
* @brief Adds a new child wrapper with the supplied name to the current LSFileWrapper. If a wrapper is already present with the same name, then the new wrapper will replace it.
155
+
*
156
+
* @warning Should only be called on the LSFileWrapper of type Directory.
157
+
* @warning This method will replace any wrappers currently stored under the supplied filename.
158
+
*
159
+
* @param fileWrapper Child wrapper which should be stored in the current LSFileWrapper as LSFileWrapper.
* @brief Adds a new child wrapper of type File with the supplied name to the current LSFileWrapper. If a wrapper is already present with the same name, then the new wrapper will be saved under the returned named to prevent collisions.
175
+
*
176
+
* @warning Should only be called on the LSFileWrapper of type Directory.
177
+
* @warning Actual returned wrapper name may be different than supplied filename.
178
+
*
179
+
* @param content_ Content which should be added to current LSFileWrapper.
180
+
* @param filename Desired name of the child file wrapper.
181
+
*
182
+
* @return Nil on error or the name of the added child file wrapper as NSString.
* @brief Adds a new child wrapper of type File with the supplied name to the current LSFileWrapper. If a wrapper is already present with the same name, then the new wrapper will replace it.
188
+
*
189
+
* @warning Should only be called on the LSFileWrapper of type Directory.
190
+
* @warning This method will replace any wrappers currently stored under the supplied filename.
191
+
*
192
+
* @param content_ Content which should be stored in the current LSFileWrapper.
0 commit comments