mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Add torrent tests
This commit is contained in:
parent
187501f8b8
commit
3e17515e29
11 changed files with 144 additions and 59 deletions
|
@ -9,8 +9,7 @@ import { ApplicationModel } from '../models/application/application'
|
|||
import { pseudoRandomBytesPromise, sha256, unlinkPromise } from './core-utils'
|
||||
import { logger } from './logger'
|
||||
import { isArray } from './custom-validators/misc'
|
||||
import * as crypto from "crypto"
|
||||
import { join } from "path"
|
||||
import { join } from 'path'
|
||||
import { Instance as ParseTorrent } from 'parse-torrent'
|
||||
|
||||
const isCidr = require('is-cidr')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue