treewide: update doc comments
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Test / Sandbox (race detector) (push) Successful in 4m7s
				
			
		
			
				
	
				Test / Flake checks (push) Successful in 1m29s
				
			
		
			
				
	
				Test / Create distribution (push) Successful in 33s
				
			
		
			
				
	
				Test / Sandbox (push) Successful in 2m22s
				
			
		
			
				
	
				Test / Hakurei (push) Successful in 3m10s
				
			
		
			
				
	
				Test / Hpkg (push) Successful in 3m58s
				
			
		
			
				
	
				Test / Hakurei (race detector) (push) Successful in 4m57s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Test / Sandbox (race detector) (push) Successful in 4m7s
				
			Test / Flake checks (push) Successful in 1m29s
				
			Test / Create distribution (push) Successful in 33s
				
			Test / Sandbox (push) Successful in 2m22s
				
			Test / Hakurei (push) Successful in 3m10s
				
			Test / Hpkg (push) Successful in 3m58s
				
			Test / Hakurei (race detector) (push) Successful in 4m57s
				
			Some internal/app/state types were relocated to hst as part of the API. This change updates doc comments referring to them. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
		
							parent
							
								
									86f4219062
								
							
						
					
					
						commit
						546b00429f
					
				| @ -38,7 +38,7 @@ func printShowSystem(output io.Writer, short, flagJSON bool) { | |||||||
| 	t.Printf("RunDirPath:\t%s\n", info.RunDirPath) | 	t.Printf("RunDirPath:\t%s\n", info.RunDirPath) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // printShowInstance writes a representation of [state.State] or [hst.Config] to output. | // printShowInstance writes a representation of [hst.State] or [hst.Config] to output. | ||||||
| func printShowInstance( | func printShowInstance( | ||||||
| 	output io.Writer, now time.Time, | 	output io.Writer, now time.Time, | ||||||
| 	instance *hst.State, config *hst.Config, | 	instance *hst.State, config *hst.Config, | ||||||
| @ -243,7 +243,7 @@ func printPs(output io.Writer, now time.Time, s state.Store, short, flagJSON boo | |||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // expandedStateEntry stores [state.State] alongside a string representation of its [state.ID]. | // expandedStateEntry stores [hst.State] alongside a string representation of its [hst.ID]. | ||||||
| type expandedStateEntry struct { | type expandedStateEntry struct { | ||||||
| 	s string | 	s string | ||||||
| 	*hst.State | 	*hst.State | ||||||
|  | |||||||
| @ -47,7 +47,7 @@ const ( | |||||||
| 	wantRuntimeSharePath = wantRunDirPath + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | 	wantRuntimeSharePath = wantRunDirPath + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| // checkExpectInstanceId is the [state.ID] value used by checkOpBehaviour to initialise outcomeState. | // checkExpectInstanceId is the [hst.ID] value used by checkOpBehaviour to initialise outcomeState. | ||||||
| var checkExpectInstanceId = *(*hst.ID)(bytes.Repeat([]byte{0xaa}, len(hst.ID{}))) | var checkExpectInstanceId = *(*hst.ID)(bytes.Repeat([]byte{0xaa}, len(hst.ID{}))) | ||||||
| 
 | 
 | ||||||
| type ( | type ( | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user