mirror of
				https://github.com/cloudreve/cloudreve.git
				synced 2025-10-31 16:49:03 +08:00 
			
		
		
		
	Feat: import file from existing outer folder
This commit is contained in:
		| @ -246,9 +246,11 @@ func TestPolicy_Props(t *testing.T) { | ||||
| 	asserts.True(policy.IsPathGenerateNeeded()) | ||||
| 	asserts.True(policy.IsTransitUpload(4)) | ||||
| 	asserts.False(policy.IsTransitUpload(5 * 1024 * 1024)) | ||||
| 	asserts.True(policy.CanStructureBeListed()) | ||||
| 	policy.Type = "local" | ||||
| 	asserts.True(policy.IsThumbGenerateNeeded()) | ||||
| 	asserts.True(policy.IsPathGenerateNeeded()) | ||||
| 	asserts.False(policy.CanStructureBeListed()) | ||||
| } | ||||
|  | ||||
| func TestPolicy_IsThumbExist(t *testing.T) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 HFO4
					HFO4