CH-J Tools MobileSSH를 통한 서버 관리
메뉴
공개된 소스

CH-J Tools Mobile

특정 애플리케이션 릴리스의 디렉터리와 파일을 살펴보세요.

소스 ZIP 다운로드
CH-J / CH-J Tools Mobile 175 개 파일
sm-mobile-20261016T185235Z-8e93ecc1b59a 추가됨: · 빌드됨:
local_files.dart 추가됨: 날짜 기록 없음 872 B · 32 줄
코드 파일 다운로드
1import 'dart:typed_data';
2import 'dart:io';
3import 'package:path_provider/path_provider.dart';
4import '../core/failure.dart';
6Future<Uint8List> readBounded(Stream<List<int>> stream, int limit) async {
7 final bytes = BytesBuilder(copy: false);
8 await for (final chunk in stream) {
9 if (bytes.length + chunk.length > limit) {
10 throw const Failure('invalidImport');
11 }
12 bytes.add(chunk);
13 }
14 return bytes.takeBytes();
17Future<void> purgeTransferCache() async {
18 final root = await getTemporaryDirectory();
19 await for (final entry in root.list(followLinks: false)) {
20 if (entry is Directory &&
21 entry.path
22 .split(Platform.pathSeparator)
23 .last
24 .startsWith('sm-transfer-')) {
25 try {
26 await entry.delete(recursive: true);
27 } catch (_) {
28 /* Retry at next launch. */
29 }
30 }
31 }
SHA-256032fcb7ef1f7a21014510cc696a9831bd9ea4a2bafb016c97a79149d7e7486ce

CH-J Proprietary Software License 1.14 · 소스는 CH-J Proprietary Software License 1.14에 따라 제공됩니다. 소스를 공개한다고 해서 라이선스 조항이 바뀌거나 추가 권리가 부여되지는 않습니다.

압축 파일 SHA-25646e427a43e87af091004f36145590bda8fe90086dfb0f631afeb5029fb0b5655
파일