mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	Update docs wrt etags
2007-12-07 Alexander Larsson <alexl@redhat.com> * gfile.c: Update docs wrt etags svn path=/trunk/; revision=6064
This commit is contained in:
		
				
					committed by
					
						
						Alexander Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							da0359d90e
						
					
				
				
					commit
					59cf55a08f
				
			@@ -1,3 +1,8 @@
 | 
			
		||||
2007-12-07  Alexander Larsson  <alexl@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gfile.c:
 | 
			
		||||
	Update docs wrt etags
 | 
			
		||||
 | 
			
		||||
2007-12-06  Alexander Larsson  <alexl@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* glocalfileinfo.h:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										12
									
								
								gio/gfile.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								gio/gfile.c
									
									
									
									
									
								
							@@ -4420,13 +4420,19 @@ g_file_load_contents_finish (GFile         *file,
 | 
			
		||||
 * @cancellable: optional #GCancellable object, %NULL to ignore.
 | 
			
		||||
 * @error: a #GError, or %NULL
 | 
			
		||||
 *
 | 
			
		||||
 * Replaces the contents of @file with @contents of @length bytes. 
 | 
			
		||||
 * The old @etag will be replaced with the @new_etag. If @make_backup 
 | 
			
		||||
 * is %TRUE, this function will attempt to make a backup of @file.
 | 
			
		||||
 * Replaces the contents of @file with @contents of @length bytes.
 | 
			
		||||
 
 | 
			
		||||
 * If @etag is specified (not %NULL) any existing file must have that etag, or
 | 
			
		||||
 * the error %G_IO_ERROR_WRONG_ETAG will be returned.
 | 
			
		||||
 *
 | 
			
		||||
 * If @make_backup is %TRUE, this function will attempt to make a backup of @file.
 | 
			
		||||
 * 
 | 
			
		||||
 * If @cancellable is not %NULL, then the operation can be cancelled by
 | 
			
		||||
 * triggering the cancellable object from another thread. If the operation
 | 
			
		||||
 * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned. 
 | 
			
		||||
 *
 | 
			
		||||
 * The returned @new_etag can be used to verify that the file hasn't changed the
 | 
			
		||||
 * next time it is saved over.
 | 
			
		||||
 * 
 | 
			
		||||
 * Returns: %TRUE if successful. If an error
 | 
			
		||||
 * has occured, this function will return %FALSE and set @error
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user