@@ -266,15 +266,12 @@ extension ParseFile {
266266 - parameter callbackQueue: The queue to return to after synchronous completion.
267267 Default value of .main.
268268 - returns: A saved `ParseFile`.
269- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
270- desires a different policy, it should be inserted in `options`.
271269 */
272270 public func save( options: API . Options = [ ] ,
273271 stream: InputStream ,
274272 callbackQueue: DispatchQueue = . main,
275273 progress: ( ( URLSessionTask , Int64 , Int64 , Int64 ) -> Void ) ? = nil ) throws {
276274 var options = options
277- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
278275 if let mimeType = mimeType {
279276 options. insert ( . mimeType( mimeType) )
280277 } else {
@@ -300,13 +297,10 @@ extension ParseFile {
300297 - parameter options: A set of header options sent to the server. Defaults to an empty set.
301298 - parameter callbackQueue: The queue to return to after synchronous completion.
302299 - returns: A saved `ParseFile`.
303- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
304- desires a different policy, it should be inserted in `options`.
305300 */
306301 public func save( options: API . Options = [ ] ,
307302 callbackQueue: DispatchQueue ) throws -> ParseFile {
308303 var options = options
309- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
310304 if let mimeType = mimeType {
311305 options. insert ( . mimeType( mimeType) )
312306 } else {
@@ -376,14 +370,11 @@ extension ParseFile {
376370 It should have the following argument signature: `(task: URLSessionDownloadTask,
377371 bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64)`.
378372 - returns: A saved `ParseFile`.
379- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
380- desires a different policy, it should be inserted in `options`.
381373 */
382374 public func save( options: API . Options = [ ] ,
383375 callbackQueue: DispatchQueue = . main,
384376 progress: ( ( URLSessionTask , Int64 , Int64 , Int64 ) -> Void ) ? ) throws -> ParseFile {
385377 var options = options
386- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
387378 if let mimeType = mimeType {
388379 options. insert ( . mimeType( mimeType) )
389380 } else {
@@ -538,8 +529,6 @@ extension ParseFile {
538529 - parameter callbackQueue: The queue to return to after synchronous completion.
539530 Default value of .main.
540531 - returns: A saved `ParseFile`.
541- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
542- desires a different policy, it should be inserted in `options`.
543532 */
544533 public func fetch( options: API . Options = [ ] ,
545534 stream: InputStream ,
@@ -556,7 +545,6 @@ extension ParseFile {
556545 if let tags = tags {
557546 options. insert ( . tags( tags) )
558547 }
559- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
560548 options = options. union ( self . options)
561549 return try downloadFileCommand ( )
562550 . executeStream ( options: options,
@@ -570,8 +558,6 @@ extension ParseFile {
570558 - parameter options: A set of header options sent to the server. Defaults to an empty set.
571559 - parameter callbackQueue: The queue to return to after synchronous completion.
572560 - returns: A saved `ParseFile`.
573- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
574- desires a different policy, it should be inserted in `options`.
575561 */
576562 public func fetch( includeKeys: [ String ] ? = nil ,
577563 options: API . Options = [ ] ,
@@ -588,7 +574,6 @@ extension ParseFile {
588574 if let tags = tags {
589575 options. insert ( . tags( tags) )
590576 }
591- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
592577 options = options. union ( self . options)
593578 return try downloadFileCommand ( )
594579 . execute ( options: options,
@@ -600,8 +585,6 @@ extension ParseFile {
600585 - parameter includeKeys: Currently not used for `ParseFile`.
601586 - parameter options: A set of header options sent to the server. Defaults to an empty set.
602587 - returns: A saved `ParseFile`.
603- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
604- desires a different policy, it should be inserted in `options`.
605588 */
606589 public func fetch( includeKeys: [ String ] ? = nil ,
607590 options: API . Options = [ ] ) throws -> ParseFile {
@@ -649,8 +632,6 @@ extension ParseFile {
649632 It should have the following argument signature: `(task: URLSessionDownloadTask,
650633 bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64)`.
651634 - returns: A saved `ParseFile`.
652- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
653- desires a different policy, it should be inserted in `options`.
654635 */
655636 public func fetch( options: API . Options = [ ] ,
656637 callbackQueue: DispatchQueue = . main,
@@ -667,7 +648,6 @@ extension ParseFile {
667648 if let tags = tags {
668649 options. insert ( . tags( tags) )
669650 }
670- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
671651 options = options. union ( self . options)
672652 return try downloadFileCommand ( )
673653 . execute ( options: options,
@@ -715,9 +695,7 @@ extension ParseFile {
715695 It should have the following argument signature: `(task: URLSessionDownloadTask,
716696 bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64)`.
717697 - parameter completion: A block that will be called when file fetches or fails.
718- It should have the following argument signature: `(Result<Self, ParseError>)`
719- - note: The default cache policy for this method is `.reloadIgnoringLocalCacheData`. If a developer
720- desires a different policy, it should be inserted in `options`.
698+ It should have the following argument signature: `(Result<Self, ParseError>)`.
721699 */
722700 public func fetch( options: API . Options = [ ] ,
723701 callbackQueue: DispatchQueue = . main,
@@ -735,7 +713,6 @@ extension ParseFile {
735713 if let tags = tags {
736714 options. insert ( . tags( tags) )
737715 }
738- options. insert ( . cachePolicy( . reloadIgnoringLocalCacheData) )
739716 options = options. union ( self . options)
740717 downloadFileCommand ( )
741718 . executeAsync ( options: options,
0 commit comments