fix LIST log output
This commit is contained in:
		
							parent
							
								
									9e2acd491b
								
							
						
					
					
						commit
						725c5d0f14
					
				@ -43,7 +43,7 @@ func main() {
 | 
				
			|||||||
		switch *m {
 | 
							switch *m {
 | 
				
			||||||
			case "LIST", "PROPFIND":
 | 
								case "LIST", "PROPFIND":
 | 
				
			||||||
				if files, err := c.ReadDir(path); err == nil {
 | 
									if files, err := c.ReadDir(path); err == nil {
 | 
				
			||||||
					fmt.Println(fmt.Sprintf("ReadDir: %s, entries: ", path, len(files)))
 | 
										fmt.Println(fmt.Sprintf("ReadDir: '%s' entries: %d ", path, len(files)))
 | 
				
			||||||
					for _, f := range files {
 | 
										for _, f := range files {
 | 
				
			||||||
						fmt.Println(f)
 | 
											fmt.Println(f)
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user