javonet-ruby-sdk 2.4.9 → 2.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/javonet-ruby-sdk.gemspec +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Clr/{Windows/X64/Javonet.Clr.Utils.dll → Javonet.Clr.Utils.dll} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Clr/{Windows/X64/JavonetClrRuntime.dll → JavonetClrRuntime.dll} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/{Linux/X64/JavonetJvmRuntime.jar → JavonetJvmRuntime.jar} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +21 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Linux/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/MacOs/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/libcrypto-3-x64.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/libssl-3-x64.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/version.txt +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersion31LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersion60LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersion70LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersion80LatestPatch.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/NetVersionLatest.runtimeconfig.json +10 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/Linux/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/Linux/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/MacOs/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/MacOs/jni_md.h +51 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/Windows/jni.h +1960 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/dynamicCompilationHeaders/Windows/jni_md.h +37 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libcrypto-3.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libssl-3.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libxml2.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libxmlsec-openssl.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libxmlsec.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/libxslt.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/python311.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Native/Windows/X86/version.txt +1 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/{MacOs/X64/Javonet.Netcore.Core.dll → Javonet.Netcore.Core.dll} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/{MacOs/X64/Javonet.Netcore.Utils.dll → Javonet.Netcore.Utils.dll} +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util/XS.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Sub/Util.pm +1 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +90 -90
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/transmitter/Transmitter.py +2 -2
- data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/transmitter/TransmitterWrapper.py +4 -4
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/__pycache__/Command.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/__pycache__/Type.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/connectionData/__pycache__/IConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/{Windows/X64/javonet → javonet}/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/version.txt +1 -1
- metadata +275 -1340
- data/lib/javonet-ruby-sdk/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/AbstractGeneratorHandler.js +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/GeneratorHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/GetTypeGeneratorHandler.js +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/Handlers.js +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/SharedClassInstanceHandler.js +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/SharedClassNameHandler.js +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/SharedMethodNameHandler.js +0 -45
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedBodyHandler.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/internal/CommonGenerator.js +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/internal/NodejsStringBuilder.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/internal/SharedHandlerType.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/generator/utils/StringUtils.js +0 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/AbstractHandler.js +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ArrayGetItemHandler.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ArrayGetRankHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ArrayGetSizeHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ArrayHandler.js +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ArraySetItemHandler.js +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/CastingHandler.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/CreateClassInstanceHandler.js +0 -38
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/DestructReferenceHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableNamespaceHandler.js +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/EnableTypeHandler.js +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetGlobalStaticFieldHandler.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetInstanceFieldHandler.js +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetStaticFieldHandler.js +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/GetTypeHandler.js +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +0 -90
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/InvokeGlobalMethodHandler.js +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/InvokeInstanceMethodHandler.js +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/InvokeStaticMethodHandler.js +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/LoadLibraryHandler.js +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ResolveReferenceHandler.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/SetGlobalStaticFieldHandler.js +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/SetInstanceFieldHandler.js +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/SetStaticFieldHandler.js +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/handler/ValueHandler.js +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/interpreter/Interpreter.js +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/namespaceCache/NamespaceCache.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/CommandDeserializer.js +0 -170
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/CommandSerializer.js +0 -70
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeDeserializer.js +0 -81
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/protocol/TypeSerializer.js +0 -137
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/Receiver.js +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/receiver/ReceiverNative.js +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/referenceCache/ReferencesCache.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/transmitter/Transmitter.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/transmitter/TransmitterWrapper.js +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/core/typeCache/TypeCache.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/Command.js +0 -66
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/CommandType.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/ConnectionType.js +0 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/ExceptionType.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/RuntimeName.js +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/RuntimeNameHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/StringEncodingMode.js +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/TcpConnectionData.js +0 -49
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/Type.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/exception/ExceptionSerializer.js +0 -71
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/exception/ExceptionThrower.js +0 -89
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/uuid/REGEX.js +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/uuid/rng.js +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/uuid/stringify.js +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/uuid/v4.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/MacOs/X64/utils/uuid/validate.js +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/AbstractGeneratorHandler.js +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/GeneratorHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/GetTypeGeneratorHandler.js +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/Handlers.js +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/SharedClassInstanceHandler.js +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/SharedClassNameHandler.js +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/SharedMethodNameHandler.js +0 -45
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedBodyHandler.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/internal/CommonGenerator.js +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/internal/NodejsStringBuilder.js +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/internal/SharedHandlerType.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/generator/utils/StringUtils.js +0 -7
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/AbstractHandler.js +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ArrayGetItemHandler.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ArrayGetRankHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ArrayGetSizeHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ArrayHandler.js +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ArraySetItemHandler.js +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/CastingHandler.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/CreateClassInstanceHandler.js +0 -38
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/DestructReferenceHandler.js +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableNamespaceHandler.js +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/EnableTypeHandler.js +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetGlobalStaticFieldHandler.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetInstanceFieldHandler.js +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetStaticFieldHandler.js +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/GetTypeHandler.js +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +0 -90
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/InvokeGlobalMethodHandler.js +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/InvokeInstanceMethodHandler.js +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/InvokeStaticMethodHandler.js +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/LoadLibraryHandler.js +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ResolveReferenceHandler.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/SetGlobalStaticFieldHandler.js +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/SetInstanceFieldHandler.js +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/SetStaticFieldHandler.js +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/handler/ValueHandler.js +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/interpreter/Interpreter.js +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/namespaceCache/NamespaceCache.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/CommandDeserializer.js +0 -170
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/CommandSerializer.js +0 -70
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeDeserializer.js +0 -81
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/protocol/TypeSerializer.js +0 -137
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/receiver/ReceiverNative.js +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/referenceCache/ReferencesCache.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/transmitter/TransmitterWrapper.js +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/core/typeCache/TypeCache.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/Command.js +0 -66
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/CommandType.js +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/ConnectionType.js +0 -4
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/ExceptionType.js +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/RuntimeName.js +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/RuntimeNameHandler.js +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/StringEncodingMode.js +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/TcpConnectionData.js +0 -49
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/Type.js +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/exception/ExceptionSerializer.js +0 -71
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/exception/ExceptionThrower.js +0 -89
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/uuid/REGEX.js +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/uuid/rng.js +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/uuid/stringify.js +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/uuid/v4.js +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Nodejs/Windows/X64/utils/uuid/validate.js +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/Abstract.pm +0 -74
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/Alias.pm +0 -75
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/Memoize.pm +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/Method.pm +0 -151
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/SigHandler.pm +0 -61
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Attribute/Util.pm +0 -101
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Capture/Tiny.pm +0 -901
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Class/Load/PP.pm +0 -59
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Class/Load.pm +0 -420
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Data/Cmp/Numeric.pm +0 -188
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Data/Cmp/StrOrNumeric.pm +0 -200
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Data/Cmp.pm +0 -278
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Data/OptList.pm +0 -416
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Devel/GlobalDestruction.pm +0 -110
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Devel/OverloadInfo.pm +0 -309
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Devel/StackTrace/Frame.pm +0 -272
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Devel/StackTrace.pm +0 -624
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Dist/CheckConflicts.pm +0 -361
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Eval/Closure.pm +0 -379
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config/MakeMaker.pm +0 -141
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config.pm +0 -152
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Unix.pm +0 -97
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/VMS.pm +0 -118
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers/Windows.pm +0 -125
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Helpers.pm +0 -122
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/InstallPaths.pm +0 -627
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/FFI/CheckLib.pm +0 -856
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/File/Which.pm +0 -398
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/IPC/System/Simple.pm +0 -1115
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/MRO/Compat.pm +0 -407
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/API.pod +0 -2127
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Authoring.pod +0 -326
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Base.pm +0 -5714
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Bundling.pod +0 -147
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Compat.pm +0 -653
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Config.pm +0 -59
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/ConfigData.pm +0 -206
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Cookbook.pm +0 -529
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Dumper.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Notes.pm +0 -327
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/PPMMaker.pm +0 -186
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/Default.pm +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/MacOS.pm +0 -151
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/Unix.pm +0 -72
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/VMS.pm +0 -522
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/VOS.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/Windows.pm +0 -234
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/aix.pm +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/cygwin.pm +0 -54
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/darwin.pm +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Platform/os2.pm +0 -48
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/PodParser.pm +0 -70
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build/Tiny.pm +0 -366
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Build.pm +0 -1097
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Implementation.pm +0 -290
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Runtime/Conflicts.pm +0 -105
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Module/Runtime.pm +0 -515
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Nice/Try.pm +0 -3047
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Cache.pm +0 -301
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/File.pm +0 -136
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/Fragment.pm +0 -90
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document/Normalized.pm +0 -315
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Document.pm +0 -929
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Dumper.pm +0 -309
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Element.pm +0 -884
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Exception.pm +0 -108
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Find.pm +0 -391
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Lexer.pm +0 -1549
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Node.pm +0 -831
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Normal/Standard.pm +0 -139
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Normal.pm +0 -257
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Singletons.pm +0 -92
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Break.pm +0 -75
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Compound.pm +0 -201
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Data.pm +0 -81
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/End.pm +0 -79
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Expression.pm +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Given.pm +0 -90
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +0 -87
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Include.pm +0 -265
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Null.pm +0 -75
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Package.pm +0 -145
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +0 -124
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Sub.pm +0 -222
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +0 -68
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +0 -80
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/Variable.pm +0 -195
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement/When.pm +0 -100
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Statement.pm +0 -344
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Block.pm +0 -82
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Condition.pm +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +0 -62
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/For.pm +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Given.pm +0 -63
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/List.pm +0 -87
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +0 -68
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +0 -69
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure/When.pm +0 -63
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Structure.pm +0 -347
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Attribute.pm +0 -176
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/BOM.pm +0 -113
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Cast.pm +0 -87
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Comment.pm +0 -146
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +0 -96
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Data.pm +0 -116
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/End.pm +0 -111
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +0 -338
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Label.pm +0 -58
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Magic.pm +0 -200
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +0 -117
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +0 -146
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +0 -140
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +0 -108
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +0 -115
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +0 -164
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Number.pm +0 -166
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Operator.pm +0 -124
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Pod.pm +0 -159
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Prototype.pm +0 -100
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +0 -138
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +0 -76
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +0 -81
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +0 -93
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Quote.pm +0 -120
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +0 -62
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +0 -62
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +0 -71
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +0 -126
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +0 -88
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +0 -76
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +0 -66
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +0 -70
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Regexp.pm +0 -136
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Separator.pm +0 -64
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Structure.pm +0 -209
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Symbol.pm +0 -241
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Unknown.pm +0 -479
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +0 -454
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/Word.pm +0 -375
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +0 -450
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +0 -240
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Token.pm +0 -245
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Tokenizer.pm +0 -1098
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +0 -179
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Transform.pm +0 -240
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/Util.pm +0 -72
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI/XSAccessor.pm +0 -165
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/PPI.pm +0 -822
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Package/DeprecationManager.pm +0 -368
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Package/Stash/Conflicts.pm +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Package/Stash/PP.pm +0 -503
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Package/Stash.pm +0 -308
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Path/Tiny.pm +0 -3887
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Scope/Guard.pm +0 -183
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Exporter/Cookbook.pod +0 -602
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Exporter/Progressive.pm +0 -174
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Exporter/Tutorial.pod +0 -539
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Exporter/Util.pm +0 -488
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Exporter.pm +0 -1769
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Sub/Install.pm +0 -486
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Task/Weaken.pm +0 -95
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Test/Fatal.pm +0 -477
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/Try/Tiny.pm +0 -820
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/aliased.pm +0 -371
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/Load/XS.pm +0 -89
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Attribute.pm +0 -1100
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Class/Immutable/Trait.pm +0 -172
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Class.pm +0 -2312
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Deprecated.pm +0 -95
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Instance.pm +0 -533
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Accessor.pm +0 -404
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Constructor.pm +0 -251
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Generated.pm +0 -142
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Inlined.pm +0 -191
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Meta.pm +0 -169
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method/Wrapped.pm +0 -333
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Method.pm +0 -356
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/MiniTrait.pm +0 -113
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Mixin/AttributeCore.pm +0 -125
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Mixin/HasAttributes.pm +0 -171
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Mixin/HasMethods.pm +0 -304
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Mixin/HasOverloads.pm +0 -243
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Mixin.pm +0 -107
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Module.pm +0 -209
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Object.pm +0 -196
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Overload.pm +0 -340
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP/Package.pm +0 -460
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Class/MOP.pm +0 -1222
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Clone.pm +0 -99
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Data/UUID.pm +0 -158
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Base.pm +0 -368
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/C.pm +0 -254
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/CXX.pm +0 -110
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Library.pm +0 -111
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/File/Object.pm +0 -108
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/MM.pm +0 -450
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/Platform.pm +0 -661
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/Plugin.pm +0 -148
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build/PluginData.pm +0 -115
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Build.pm +0 -634
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/API.pm +0 -293
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Buffer.pm +0 -366
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Bundle.pm +0 -795
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Closure.pm +0 -199
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Constant.pm +0 -246
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/DL.pm +0 -231
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Function.pm +0 -229
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Internal.pm +0 -96
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/ASM.pm +0 -126
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/C.pm +0 -123
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang/Win32.pm +0 -457
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Lang.pm +0 -141
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Legacy.pm +0 -140
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Memory.pm +0 -268
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record/Meta.pm +0 -148
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record/TieArray.pm +0 -174
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Record.pm +0 -575
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/ShareConfig.pm +0 -122
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/PointerSizeBuffer.pm +0 -162
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/StringArray.pm +0 -272
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/StringPointer.pm +0 -190
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type/WideString.pm +0 -529
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/Type.pm +0 -1399
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version0.pm +0 -285
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version1.pm +0 -390
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser/Version2.pm +0 -115
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus/TypeParser.pm +0 -183
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Platypus.pm +0 -3302
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner/Builder.pm +0 -538
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner/Result.pm +0 -134
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe/Runner.pm +0 -204
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Probe.pm +0 -715
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/FFI/Temp.pm +0 -147
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Conflicts.pm +0 -132
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/BankAccount_MethodModifiersAndSubclassing.pod +0 -384
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/BinaryTree_AttributeFeatures.pod +0 -397
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/BinaryTree_BuilderAndLazyBuild.pod +0 -176
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Company_Subtypes.pod +0 -615
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/DateTime_ExtendingNonMooseParent.pod +0 -127
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Document_AugmentAndInner.pod +0 -197
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Genome_OverloadingSubtypesAndCoercion.pod +0 -318
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/HTTP_SubtypesAndCoercion.pod +0 -345
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Immutable.pod +0 -99
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Person_BUILDARGSAndBUILD.pod +0 -180
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Basics/Point_AttributesAndSubclassing.pod +0 -489
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Extending/Debugging_BaseClassRole.pod +0 -153
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Extending/ExtensionOverview.pod +0 -404
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Extending/Mooseish_MooseSugar.pod +0 -160
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Legacy/Debugging_BaseClassReplacement.pod +0 -172
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Legacy/Labeled_AttributeMetaclass.pod +0 -337
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Legacy/Table_ClassMetaclass.pod +0 -132
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Meta/GlobRef_InstanceMetaclass.pod +0 -304
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Meta/Labeled_AttributeTrait.pod +0 -325
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Meta/PrivateOrPublic_MethodMetaclass.pod +0 -224
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Meta/Table_MetaclassTrait.pod +0 -157
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Meta/WhyMeta.pod +0 -117
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Roles/ApplicationToInstance.pod +0 -191
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Roles/Comparable_CodeReuse.pod +0 -379
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Roles/Restartable_AdvancedComposition.pod +0 -230
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Snack/Keywords.pod +0 -240
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Snack/Types.pod +0 -130
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook/Style.pod +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Cookbook.pod +0 -289
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Deprecated.pm +0 -98
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AccessorMustReadWrite.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AddParameterizableTypeTakesParameterizableType.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AddRoleTakesAMooseMetaRoleInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AddRoleToARoleTakesAMooseMetaRole.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ApplyTakesABlessedInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttachToClassNeedsAClassMOPClassInstanceOrASubclass.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeConflictInRoles.pm +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeConflictInSummation.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeExtensionIsNotSupportedInRoles.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeIsRequired.pm +0 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeNamesDoNotMatch.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeValueIsNotAnObject.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AttributeValueIsNotDefined.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/AutoDeRefNeedsArrayRefOrHashRef.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BadOptionFormat.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BothBuilderAndDefaultAreNotAllowed.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BuilderDoesNotExist.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BuilderMethodNotSupportedForAttribute.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BuilderMethodNotSupportedForInlineAttribute.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/BuilderMustBeAMethodName.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CallingMethodOnAnImmutableInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CallingReadOnlyMethodOnAnImmutableInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CanExtendOnlyClasses.pm +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CanOnlyConsumeRole.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CanOnlyWrapBlessedCode.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CanReblessOnlyIntoASubclass.pm +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CanReblessOnlyIntoASuperclass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAddAdditionalTypeCoercionsToUnion.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAddAsAnAttributeToARole.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotApplyBaseClassRolesToRole.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAssignValueToReadOnlyAccessor.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAugmentIfLocalMethodPresent.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAugmentNoSuperMethod.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAutoDerefWithoutIsa.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotAutoDereferenceTypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCalculateNativeType.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCallAnAbstractBaseMethod.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCallAnAbstractMethod.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCoerceAWeakRef.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCoerceAttributeWhichHasNoCoercion.pm +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCreateHigherOrderTypeWithoutATypeParameter.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCreateMethodAliasLocalMethodIsPresent.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotCreateMethodAliasLocalMethodIsPresentInClass.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotDelegateLocalMethodIsPresent.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotDelegateWithoutIsa.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotFindDelegateMetaclass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotFindType.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotFindTypeGivenToMatchOnType.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotFixMetaclassCompatibility.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotGenerateInlineConstraint.pm +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotInitializeMooseMetaRoleComposite.pm +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotInlineTypeConstraintCheck.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotLocatePackageInINC.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotMakeMetaclassCompatible.pm +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotOverrideALocalMethod.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotOverrideBodyOfMetaMethods.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotOverrideNoSuperMethod.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotRegisterUnnamedTypeConstraint.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CannotUseLazyBuildAndDefaultSimultaneously.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CircularReferenceInAlso.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ClassDoesNotHaveInitMeta.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ClassDoesTheExcludedRole.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ClassNamesDoNotMatch.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CloneObjectExpectsAnInstanceOfMetaclass.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CodeBlockMustBeACodeRef.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CoercingWithoutCoercions.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CoercionAlreadyExists.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CoercionNeedsTypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ConflictDetectedInCheckRoleExclusions.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ConflictDetectedInCheckRoleExclusionsInToClass.pm +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ConstructClassInstanceTakesPackageName.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotCreateMethod.pm +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotCreateWriter.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotEvalConstructor.pm +0 -34
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotEvalDestructor.pm +0 -34
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotFindTypeConstraintToCoerceFrom.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotGenerateInlineAttributeMethod.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotLocateTypeConstraintForUnion.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CouldNotParseType.pm +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateMOPClassTakesArrayRefOfAttributes.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateMOPClassTakesArrayRefOfSuperclasses.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateMOPClassTakesHashRefOfMethods.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateTakesArrayRefOfRoles.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateTakesHashRefOfAttributes.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/CreateTakesHashRefOfMethods.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/DefaultToMatchOnTypeMustBeCodeRef.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/DelegationToAClassWhichIsNotLoaded.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/DelegationToARoleWhichIsNotLoaded.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/DelegationToATypeWhichIsNotAClass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/DoesRequiresRoleName.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/EnumCalledWithAnArrayRefAndAdditionalArgs.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/EnumValuesMustBeString.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ExtendsMissingArgs.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/HandlesMustBeAHashRef.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/IllegalInheritedOptions.pm +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/IllegalMethodTypeToAddMethodModifier.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/IncompatibleMetaclassOfSuperclass.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InitMetaRequiresClass.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InitializeTakesUnBlessedPackageName.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InstanceBlessedIntoWrongClass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InstanceMustBeABlessedReference.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidArgPassedToMooseUtilMetaRole.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidArgumentToMethod.pm +0 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidArgumentsToTraitAliases.pm +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidBaseTypeGivenToCreateParameterizedTypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidHandleValue.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidHasProvidedInARole.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidNameForType.pm +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidOverloadOperator.pm +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidRoleApplication.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidTypeConstraint.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidTypeGivenToCreateParameterizedTypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/InvalidValueForIs.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/IsaDoesNotDoTheRole.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/IsaLacksDoesMethod.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/LazyAttributeNeedsADefault.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Legacy.pm +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MOPAttributeNewNeedsAttributeName.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MatchActionMustBeACodeRef.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MessageParameterMustBeCodeRef.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassIsAClassNotASubclassOfGivenMetaclass.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassIsARoleNotASubclassOfGivenMetaclass.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassIsNotASubclassOfGivenMetaclass.pm +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassMustBeASubclassOfMooseMetaClass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassMustBeASubclassOfMooseMetaRole.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassMustBeDerivedFromClassMOPClass.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassNotLoaded.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MetaclassTypeIncompatible.pm +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodExpectedAMetaclassObject.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodExpectsFewerArgs.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodExpectsMoreArgs.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodModifierNeedsMethodName.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodNameConflictInRoles.pm +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodNameNotFoundInInheritanceHierarchy.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MethodNameNotGiven.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustDefineAMethodName.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustDefineAnAttributeName.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustDefineAnOverloadOperator.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustHaveAtLeastOneValueToEnumerate.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustPassAHashOfOptions.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustPassAMooseMetaRoleInstanceOrSubclass.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustPassAPackageNameOrAnExistingClassMOPPackageInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustPassEvenNumberOfArguments.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustPassEvenNumberOfAttributeOptions.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustProvideANameForTheAttribute.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSpecifyAtleastOneMethod.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSpecifyAtleastOneRole.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSpecifyAtleastOneRoleToApplicant.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyAClassMOPAttributeInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyADelegateToMethod.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyAMetaclass.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyAMooseMetaAttributeInstance.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyAnAccessorTypeToConstructWith.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyAnAttributeToConstructWith.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/MustSupplyPackageNameAndName.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NeedsTypeConstraintUnionForTypeCoercionUnion.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NeitherClassNorClassNameIsGiven.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NeitherRoleNorRoleNameIsGiven.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NeitherTypeNorTypeNameIsGiven.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoAttributeFoundInSuperClass.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoBodyToInitializeInAnAbstractBaseClass.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoCasesMatched.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoConstraintCheckForTypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoDestructorClassSpecified.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoImmutableTraitSpecifiedForClass.pm +0 -17
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/NoParentGivenToSubtype.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OnlyInstancesCanBeCloned.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OperatorIsRequired.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadConflictInSummation.pm +0 -62
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresAMetaClass.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresAMetaMethod.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresAMetaOverload.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresAMethodNameOrCoderef.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresAnOperator.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverloadRequiresNamesForCoderef.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverrideConflictInComposition.pm +0 -43
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/OverrideConflictInSummation.pm +0 -66
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/PackageDoesNotUseMooseExporter.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/PackageNameAndNameParamsNotGivenToWrap.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/PackagesAndModulesAreNotCachable.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ParameterIsNotSubtypeOfParent.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ReferencesAreNotAllowedAsDefault.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RequiredAttributeLacksInitialization.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RequiredAttributeNeedsADefault.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RequiredMethodsImportedByClass.pm +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RequiredMethodsNotImplementedByClass.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/Attribute.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/AttributeName.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/Class.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/EitherAttributeOrAttributeName.pm +0 -49
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/Instance.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/InstanceClass.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/InvalidAttributeOptions.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/Method.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/ParamsHash.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/Role.pm +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/RoleForCreate.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/RoleForCreateMOPClass.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/Role/TypeConstraint.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RoleDoesTheExcludedRole.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RoleExclusionConflict.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RoleNameRequired.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RoleNameRequiredForMooseMetaRole.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesDoNotSupportAugment.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesDoNotSupportExtends.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesDoNotSupportInner.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesDoNotSupportRegexReferencesForMethodModifiers.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesInCreateTakesAnArrayRef.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/RolesListMustBeInstancesOfMooseMetaRole.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/SingleParamsToNewMustBeHashRef.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/TriggerMustBeACodeRef.pm +0 -14
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/TypeConstraintCannotBeUsedForAParameterizableType.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/TypeConstraintIsAlreadyCreated.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/TypeParameterMustBeMooseMetaType.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UnableToCanonicalizeHandles.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UnableToCanonicalizeNonRolePackage.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UnableToRecognizeDelegateMetaclass.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UndefinedHashKeysPassedToMethod.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UnionCalledWithAnArrayRefAndAdditionalArgs.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/UnionTakesAtleastTwoTypeNames.pm +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ValidationFailedForInlineTypeConstraint.pm +0 -49
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/ValidationFailedForTypeConstraint.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/WrapTakesACodeRefToBless.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception/WrongTypeConstraintGiven.pm +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exception.pm +0 -211
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Exporter.pm +0 -1048
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Intro.pod +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Attributes.pod +0 -709
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/BestPractices.pod +0 -292
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Classes.pod +0 -218
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Concepts.pod +0 -439
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Construction.pod +0 -228
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Contributing.pod +0 -545
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Delegation.pod +0 -313
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Delta.pod +0 -1275
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Exceptions/Manifest.pod +0 -4124
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Exceptions.pod +0 -239
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/FAQ.pod +0 -470
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/MOP.pod +0 -214
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/MethodModifiers.pod +0 -449
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/MooseX.pod +0 -326
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Resources.pod +0 -526
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Roles.pod +0 -557
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Support.pod +0 -204
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Types.pod +0 -501
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual/Unsweetened.pod +0 -386
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Manual.pod +0 -334
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Array.pm +0 -387
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Bool.pm +0 -146
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Code.pm +0 -129
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Counter.pm +0 -157
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Hash.pm +0 -227
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/Number.pm +0 -155
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait/String.pm +0 -187
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native/Trait.pm +0 -244
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute/Native.pm +0 -299
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Attribute.pm +0 -1810
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Class/Immutable/Trait.pm +0 -123
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Class.pm +0 -1014
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Instance.pm +0 -109
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/Writer.pm +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/accessor.pm +0 -56
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/clear.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/count.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/delete.pm +0 -50
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/elements.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/first.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/first_index.pm +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/get.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/grep.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/insert.pm +0 -58
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/is_empty.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/join.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/map.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/natatime.pm +0 -66
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/pop.pm +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/push.pm +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/reduce.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/set.pm +0 -64
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/shallow_clone.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/shift.pm +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/shuffle.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/sort.pm +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/sort_in_place.pm +0 -45
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/splice.pm +0 -72
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/uniq.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array/unshift.pm +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Array.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Bool/not.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Bool/set.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Bool/unset.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Code/execute.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Code/execute_method.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Collection.pm +0 -167
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Counter/Writer.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Counter/dec.pm +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Counter/inc.pm +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Counter/reset.pm +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Counter/set.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/Writer.pm +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/accessor.pm +0 -61
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/clear.pm +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/count.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/defined.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/delete.pm +0 -46
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/elements.pm +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/exists.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/get.pm +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/is_empty.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/keys.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/kv.pm +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/set.pm +0 -99
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/shallow_clone.pm +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash/values.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Hash.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/abs.pm +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/add.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/div.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/mod.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/mul.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/set.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Number/sub.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Reader.pm +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/append.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/chomp.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/chop.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/clear.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/inc.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/length.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/match.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/prepend.pm +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/replace.pm +0 -69
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/String/substr.pm +0 -123
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native/Writer.pm +0 -174
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor/Native.pm +0 -157
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Accessor.pm +0 -208
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Augmented.pm +0 -171
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Constructor.pm +0 -145
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Delegation.pm +0 -307
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Destructor.pm +0 -251
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Meta.pm +0 -112
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method/Overridden.pm +0 -160
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Method.pm +0 -100
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Mixin/AttributeCore.pm +0 -185
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Object/Trait.pm +0 -107
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Application/RoleSummation.pm +0 -440
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Application/ToClass.pm +0 -314
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Application/ToInstance.pm +0 -142
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Application/ToRole.pm +0 -283
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Application.pm +0 -225
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Attribute.pm +0 -259
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Composite.pm +0 -320
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Method/Conflicting.pm +0 -135
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Method/Required.pm +0 -127
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role/Method.pm +0 -101
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/Role.pm +0 -1059
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeCoercion/Union.pm +0 -141
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeCoercion.pm +0 -239
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Class.pm +0 -261
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/DuckType.pm +0 -217
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Enum.pm +0 -235
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Parameterizable.pm +0 -200
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Parameterized.pm +0 -188
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Registry.pm +0 -206
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Role.pm +0 -235
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint/Union.pm +0 -346
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Meta/TypeConstraint.pm +0 -607
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Object.pm +0 -271
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Role.pm +0 -377
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Spec/Role.pod +0 -397
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Unsweetened.pod +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Util/MetaRole.pm +0 -329
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Util/TypeConstraints/Builtins.pm +0 -305
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Util/TypeConstraints.pm +0 -1443
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose/Util.pm +0 -725
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Moose.pm +0 -1268
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/PPI/XS.pm +0 -137
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Package/Stash/XS.pm +0 -110
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Params/Util/PP.pm +0 -276
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Params/Util.pm +0 -486
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Scalar/Util/Numeric.pm +0 -137
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Test/Moose.pm +0 -228
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/Want.pm +0 -742
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Class/Load/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Clone/Clone.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Clone/autosplit.ix +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Data/UUID/UUID.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Constant/Constant.txt +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Memory/Memory.txt +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Platypus.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/FFI/Platypus/Record/Meta/Meta.txt +0 -1
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Moose/Moose.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/PPI/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Package/Stash/XS/XS.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Params/Util/Util.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Scalar/Util/Numeric/Numeric.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/Want/Want.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/autobox/autobox.bundle +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/config.pl +0 -101
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/include/ffi_platypus_bundle.h +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/include/ffi_platypus_config.h +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/lib/libplfill.dylib +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/probe/probe.pl +0 -300
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/share/dist/FFI-Platypus/probe/src/dlrun.c +0 -105
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/autobox/universal.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/autobox.pm +0 -404
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/autobox.pod +0 -709
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/metaclass.pm +0 -155
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/oose.pm +0 -137
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +0 -924
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/Exception.pm +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/ExceptionSerializer.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/ExceptionThrower.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +0 -93
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/AbstractHandler.pm +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/AbstractCommandHandler.pm +0 -48
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetItemHandler.pm +0 -38
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetRankHandler.pm +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArrayGetSizeHandler.pm +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ArraySetItemHandler.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/CastingHandler.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/CreateClassInstanceHandler.pm +0 -37
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/DestructReferenceHandler.pm +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetInstanceFieldHandler.pm +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetStaticFieldHandler.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/GetTypeHandler.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeInstanceMethodHandler.pm +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeStaticMethodHandler.pm +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/LoadLibraryHandler.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +0 -38
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/SetInstanceFieldHandler.pm +0 -40
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/SetStaticFieldHandler.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/CommandHandler/ValueHandler.pm +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/PerlHandler.pm +0 -167
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +0 -43
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +0 -43
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +0 -203
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +0 -103
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +0 -82
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +0 -122
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Receiver/Receiver.pm +0 -33
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +0 -42
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +0 -88
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm +0 -71
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/PerlCommand.pm +0 -101
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +0 -51
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Core/Type.pm +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractEnumInvocationContext.pm +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractInstanceContext.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractInvocationContext.pm +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractMethodInvocationContext.pm +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractModuleContext.pm +0 -11
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeFactory.pm +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractTypeContext.pm +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/InvocationContext.pm +0 -419
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +0 -272
- data/lib/javonet-ruby-sdk/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +0 -104
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/callback/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/callback/callbackFunc.py +0 -5
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/AbstractGeneretatorHandler.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/CreateInstanceGeneratorHandler.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/GeneratorHandler.py +0 -65
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/GetInstanceFieldGeneratorHandler.py +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/GetStaticFieldGeneratorHandler.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/GetTypeGeneratorHandler.py +0 -92
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/Handlers.py +0 -59
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/InvokeInstanceMethodGeneratorHandler.py +0 -53
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/InvokeStaticMethodGeneratorHandler.py +0 -54
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedArgumentNameHandler.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedClassInstanceHandler.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedClassNameHandler.py +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedMethodNameHandler.py +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedModifierHandler.py +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedReturnTypeHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/SharedTypeHandler.py +0 -57
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedBodyHandler.py +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.py +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedGetTypeBodyHandler.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.py +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.py +0 -55
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/handler/shared/body/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/internal/CommonGenerator.py +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/internal/PythonStringBuilder.py +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/internal/SharedHandlerType.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/generator/internal/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/AbstractCommandHandler.py +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/AbstractHandler.py +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ArrayGetItemHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ArrayGetRankHandler.py +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ArrayGetSizeHandler.py +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ArrayHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ArraySetItemHandler.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/CastingHandler.py +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/CreateClassInstanceHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/DestructReferenceHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableNamespaceHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/EnableTypeHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetEnumItemHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetEnumNameHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetEnumValueHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetInstanceFieldHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetStaticFieldHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/GetTypeHandler.py +0 -56
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/Handler.py +0 -89
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/HandlerDictionary.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/InvokeInstanceMethodHandler.py +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/InvokeStaticMethodHandler.py +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/LoadLibraryHandler.py +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ResolveInstanceHandler.py +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/SetInstanceFieldHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/SetStaticFieldHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/ValueHandler.py +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/handler/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/interpreter/Interpreter.py +0 -34
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/interpreter/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/NamespaceCache.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/namespaceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandDeserializer.py +0 -147
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +0 -61
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/TypeDeserializer.py +0 -64
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/TypeSerializer.py +0 -76
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/protocol/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/receiver/Receiver.py +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/receiver/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/ReferencesCache.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/referenceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/transmitter/Transmitter.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/transmitter/TransmitterWrapper.py +0 -86
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/transmitter/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/TypeCache.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/typeCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/core/webSocketClient/WebSocketClient.py +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/Command.py +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/CommandType.py +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/ConnectionType.py +0 -7
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/ExceptionType.py +0 -55
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/RuntimeName.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/RuntimeNameHandler.py +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/StringEncodingMode.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/Type.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/IConnectionData.py +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/InMemoryConnectionData.py +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/TcpConnectionData.py +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/WsConnectionData.py +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/connectionData/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/exception/ExceptionSerializer.py +0 -60
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/exception/ExceptionThrower.py +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/exception/JavonetException.py +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Python/MacOs/X64/javonet/utils/exception/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/callback/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/callback/callbackFunc.py +0 -5
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/AbstractGeneretatorHandler.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/CreateInstanceGeneratorHandler.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/GeneratorHandler.py +0 -65
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/GetInstanceFieldGeneratorHandler.py +0 -36
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/GetStaticFieldGeneratorHandler.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/GetTypeGeneratorHandler.py +0 -92
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/Handlers.py +0 -59
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/InvokeInstanceMethodGeneratorHandler.py +0 -53
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/InvokeStaticMethodGeneratorHandler.py +0 -54
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedArgumentNameHandler.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedClassInstanceHandler.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedClassNameHandler.py +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedMethodNameHandler.py +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedModifierHandler.py +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedReturnTypeHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/SharedTypeHandler.py +0 -57
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedBodyHandler.py +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.py +0 -21
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedGetTypeBodyHandler.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.py +0 -47
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.py +0 -55
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/handler/shared/body/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/CommonGenerator.py +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/PythonStringBuilder.py +0 -15
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/SharedHandlerType.py +0 -12
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/AbstractCommandHandler.py +0 -20
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/AbstractHandler.py +0 -3
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ArrayGetItemHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ArrayGetRankHandler.py +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ArrayGetSizeHandler.py +0 -24
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ArrayHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ArraySetItemHandler.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CastingHandler.py +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/CreateClassInstanceHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/DestructReferenceHandler.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableNamespaceHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/EnableTypeHandler.py +0 -28
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetEnumItemHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetEnumNameHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetEnumValueHandler.py +0 -22
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetInstanceFieldHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetStaticFieldHandler.py +0 -27
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/GetTypeHandler.py +0 -56
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/Handler.py +0 -89
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/HandlerDictionary.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/InvokeInstanceMethodHandler.py +0 -31
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/InvokeStaticMethodHandler.py +0 -35
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/LoadLibraryHandler.py +0 -25
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ResolveInstanceHandler.py +0 -19
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/SetInstanceFieldHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/SetStaticFieldHandler.py +0 -29
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/ValueHandler.py +0 -6
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/Interpreter.py +0 -34
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/NamespaceCache.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandDeserializer.py +0 -147
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +0 -61
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/TypeDeserializer.py +0 -64
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/TypeSerializer.py +0 -76
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/Receiver.py +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/ReferencesCache.py +0 -39
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/transmitter/Transmitter.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/transmitter/TransmitterWrapper.py +0 -86
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/transmitter/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/TypeCache.py +0 -44
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/core/webSocketClient/WebSocketClient.py +0 -32
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/Command.py +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/CommandType.py +0 -41
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/ConnectionType.py +0 -7
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/ExceptionType.py +0 -55
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/RuntimeName.py +0 -13
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/RuntimeNameHandler.py +0 -26
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/StringEncodingMode.py +0 -8
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/Type.py +0 -16
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/IConnectionData.py +0 -18
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/InMemoryConnectionData.py +0 -23
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/TcpConnectionData.py +0 -67
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/WsConnectionData.py +0 -30
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/connectionData/__pycache__/__init__.cpython-311.pyc +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/ExceptionSerializer.py +0 -60
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/ExceptionThrower.py +0 -77
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/JavonetException.py +0 -10
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__init__.py +0 -0
- data/lib/javonet-ruby-sdk/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/AbstractGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/CreateInstanceGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/GeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/GetStaticFieldGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/GetTypeGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/Handlers.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/SharedArgumentNameHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/SharedClassInstanceHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/SharedClassNameHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/SharedMethodNameHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/SharedReturnTypeHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/internal/CommonGenerator.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/internal/NodejsStringBuilder.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/internal/SharedHandlerType.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/generator/utils/StringUtils.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/AbstractHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ArrayGetItemHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ArrayGetRankHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ArrayGetSizeHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ArrayHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ArraySetItemHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/CastingHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/CreateClassInstanceHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/DestructReferenceHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/EnableNamespaceHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/EnableTypeHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/GetGlobalStaticFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/GetInstanceFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/GetStaticFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/GetTypeHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/Handler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/InvokeGlobalMethodHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/InvokeInstanceMethodHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/InvokeStaticMethodHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/LoadLibraryHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ResolveReferenceHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/SetGlobalStaticFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/SetInstanceFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/SetStaticFieldHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/handler/ValueHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/interpreter/Interpreter.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/namespaceCache/NamespaceCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/protocol/CommandDeserializer.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/protocol/CommandSerializer.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/protocol/TypeDeserializer.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/protocol/TypeSerializer.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/receiver/Receiver.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/receiver/ReceiverNative.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/referenceCache/ReferencesCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/transmitter/Transmitter.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/transmitter/TransmitterWrapper.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/core → core}/typeCache/TypeCache.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/Command.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/CommandType.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/ConnectionType.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/ExceptionType.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/RuntimeName.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/RuntimeNameHandler.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/StringEncodingMode.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/TcpConnectionData.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/Type.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/exception/ExceptionSerializer.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/exception/ExceptionThrower.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/uuid/REGEX.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/uuid/rng.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/uuid/stringify.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/uuid/v4.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Nodejs/{Linux/X64/utils → utils}/uuid/validate.js +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/callback/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/callback/callbackFunc.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/AbstractGeneretatorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/CreateInstanceGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/GeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/GetInstanceFieldGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/GetStaticFieldGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/GetTypeGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/Handlers.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/InvokeInstanceMethodGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/InvokeStaticMethodGeneratorHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedArgumentNameHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedClassInstanceHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedClassNameHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedMethodNameHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedModifierHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedReturnTypeHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/SharedTypeHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedGetTypeBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/handler/shared/body/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/internal/CommonGenerator.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/internal/PythonStringBuilder.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/internal/SharedHandlerType.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/generator/internal/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/AbstractCommandHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/AbstractHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ArrayGetItemHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ArrayGetRankHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ArrayGetSizeHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ArrayHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ArraySetItemHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/CastingHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/CreateClassInstanceHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/DestructReferenceHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/EnableNamespaceHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/EnableTypeHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetEnumItemHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetEnumNameHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetEnumValueHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetInstanceFieldHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetStaticFieldHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/GetTypeHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/Handler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/HandlerDictionary.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/InvokeInstanceMethodHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/InvokeStaticMethodHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/LoadLibraryHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ResolveInstanceHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/SetInstanceFieldHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/SetStaticFieldHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/ValueHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/handler/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/interpreter/Interpreter.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/interpreter/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/namespaceCache/NamespaceCache.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/namespaceCache/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/protocol/CommandDeserializer.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/protocol/CommandSerializer.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/protocol/TypeDeserializer.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/protocol/TypeSerializer.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/protocol/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/receiver/Receiver.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/receiver/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/referenceCache/ReferencesCache.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/referenceCache/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/transmitter/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/typeCache/TypeCache.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/typeCache/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/core/webSocketClient/WebSocketClient.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/Command.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/CommandType.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/ConnectionType.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/ExceptionType.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/RuntimeName.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/RuntimeNameHandler.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/StringEncodingMode.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/Type.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/connectionData/IConnectionData.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/connectionData/InMemoryConnectionData.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/connectionData/TcpConnectionData.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/connectionData/WsConnectionData.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/connectionData/__init__.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/exception/ExceptionSerializer.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/exception/ExceptionThrower.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/exception/JavonetException.py +0 -0
- /data/lib/javonet-ruby-sdk/Binaries/Python/{Linux/X64/javonet → javonet}/utils/exception/__init__.py +0 -0
@@ -1,3887 +0,0 @@
|
|
1
|
-
use 5.008001;
|
2
|
-
use strict;
|
3
|
-
use warnings;
|
4
|
-
|
5
|
-
package Path::Tiny;
|
6
|
-
# ABSTRACT: File path utility
|
7
|
-
|
8
|
-
our $VERSION = '0.146';
|
9
|
-
|
10
|
-
# Dependencies
|
11
|
-
use Config;
|
12
|
-
use Exporter 5.57 (qw/import/);
|
13
|
-
use File::Spec 0.86 (); # shipped with 5.8.1
|
14
|
-
use Carp ();
|
15
|
-
|
16
|
-
our @EXPORT = qw/path/;
|
17
|
-
our @EXPORT_OK = qw/cwd rootdir tempfile tempdir/;
|
18
|
-
|
19
|
-
use constant {
|
20
|
-
PATH => 0,
|
21
|
-
CANON => 1,
|
22
|
-
VOL => 2,
|
23
|
-
DIR => 3,
|
24
|
-
FILE => 4,
|
25
|
-
TEMP => 5,
|
26
|
-
IS_WIN32 => ( $^O eq 'MSWin32' ),
|
27
|
-
};
|
28
|
-
|
29
|
-
use overload (
|
30
|
-
q{""} => 'stringify',
|
31
|
-
bool => sub () { 1 },
|
32
|
-
fallback => 1,
|
33
|
-
);
|
34
|
-
|
35
|
-
# FREEZE/THAW per Sereal/CBOR/Types::Serialiser protocol
|
36
|
-
sub THAW { return path( $_[2] ) }
|
37
|
-
{ no warnings 'once'; *TO_JSON = *FREEZE = \&stringify };
|
38
|
-
|
39
|
-
my $HAS_UU; # has Unicode::UTF8; lazily populated
|
40
|
-
|
41
|
-
sub _check_UU {
|
42
|
-
local $SIG{__DIE__}; # prevent outer handler from being called
|
43
|
-
!!eval {
|
44
|
-
require Unicode::UTF8;
|
45
|
-
Unicode::UTF8->VERSION(0.58);
|
46
|
-
1;
|
47
|
-
};
|
48
|
-
}
|
49
|
-
|
50
|
-
my $HAS_PU; # has PerlIO::utf8_strict; lazily populated
|
51
|
-
|
52
|
-
sub _check_PU {
|
53
|
-
local $SIG{__DIE__}; # prevent outer handler from being called
|
54
|
-
!!eval {
|
55
|
-
# MUST preload Encode or $SIG{__DIE__} localization fails
|
56
|
-
# on some Perl 5.8.8 (maybe other 5.8.*) compiled with -O2.
|
57
|
-
require Encode;
|
58
|
-
require PerlIO::utf8_strict;
|
59
|
-
PerlIO::utf8_strict->VERSION(0.003);
|
60
|
-
1;
|
61
|
-
};
|
62
|
-
}
|
63
|
-
|
64
|
-
my $HAS_FLOCK = $Config{d_flock} || $Config{d_fcntl_can_lock} || $Config{d_lockf};
|
65
|
-
|
66
|
-
# notions of "root" directories differ on Win32: \\server\dir\ or C:\ or \
|
67
|
-
my $SLASH = qr{[\\/]};
|
68
|
-
my $NOTSLASH = qr{[^\\/]};
|
69
|
-
my $DRV_VOL = qr{[a-z]:}i;
|
70
|
-
my $UNC_VOL = qr{$SLASH $SLASH $NOTSLASH+ $SLASH $NOTSLASH+}x;
|
71
|
-
my $WIN32_ROOT = qr{(?: $UNC_VOL $SLASH | $DRV_VOL $SLASH | $SLASH )}x;
|
72
|
-
|
73
|
-
sub _win32_vol {
|
74
|
-
my ( $path, $drv ) = @_;
|
75
|
-
require Cwd;
|
76
|
-
my $dcwd = eval { Cwd::getdcwd($drv) }; # C: -> C:\some\cwd
|
77
|
-
# getdcwd on non-existent drive returns empty string
|
78
|
-
# so just use the original drive Z: -> Z:
|
79
|
-
$dcwd = "$drv" unless defined $dcwd && length $dcwd;
|
80
|
-
# normalize dwcd to end with a slash: might be C:\some\cwd or D:\ or Z:
|
81
|
-
$dcwd =~ s{$SLASH?\z}{/};
|
82
|
-
# make the path absolute with dcwd
|
83
|
-
$path =~ s{^$DRV_VOL}{$dcwd};
|
84
|
-
return $path;
|
85
|
-
}
|
86
|
-
|
87
|
-
# This is a string test for before we have the object; see is_rootdir for well-formed
|
88
|
-
# object test
|
89
|
-
sub _is_root {
|
90
|
-
return IS_WIN32() ? ( $_[0] =~ /^$WIN32_ROOT\z/ ) : ( $_[0] eq '/' );
|
91
|
-
}
|
92
|
-
|
93
|
-
BEGIN {
|
94
|
-
*_same = IS_WIN32() ? sub { lc( $_[0] ) eq lc( $_[1] ) } : sub { $_[0] eq $_[1] };
|
95
|
-
}
|
96
|
-
|
97
|
-
# mode bits encoded for chmod in symbolic mode
|
98
|
-
my %MODEBITS = ( om => 0007, gm => 0070, um => 0700 ); ## no critic
|
99
|
-
{ my $m = 0; $MODEBITS{$_} = ( 1 << $m++ ) for qw/ox ow or gx gw gr ux uw ur/ };
|
100
|
-
|
101
|
-
sub _symbolic_chmod {
|
102
|
-
my ( $mode, $symbolic ) = @_;
|
103
|
-
for my $clause ( split /,\s*/, $symbolic ) {
|
104
|
-
if ( $clause =~ m{\A([augo]+)([=+-])([rwx]+)\z} ) {
|
105
|
-
my ( $who, $action, $perms ) = ( $1, $2, $3 );
|
106
|
-
$who =~ s/a/ugo/g;
|
107
|
-
for my $w ( split //, $who ) {
|
108
|
-
my $p = 0;
|
109
|
-
$p |= $MODEBITS{"$w$_"} for split //, $perms;
|
110
|
-
if ( $action eq '=' ) {
|
111
|
-
$mode = ( $mode & ~$MODEBITS{"${w}m"} ) | $p;
|
112
|
-
}
|
113
|
-
else {
|
114
|
-
$mode = $action eq "+" ? ( $mode | $p ) : ( $mode & ~$p );
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
else {
|
119
|
-
Carp::croak("Invalid mode clause '$clause' for chmod()");
|
120
|
-
}
|
121
|
-
}
|
122
|
-
return $mode;
|
123
|
-
}
|
124
|
-
|
125
|
-
# flock doesn't work on NFS on BSD or on some filesystems like lustre.
|
126
|
-
# Since program authors often can't control or detect that, we warn once
|
127
|
-
# instead of being fatal if we can detect it and people who need it strict
|
128
|
-
# can fatalize the 'flock' category
|
129
|
-
|
130
|
-
#<<< No perltidy
|
131
|
-
{ package flock; use warnings::register }
|
132
|
-
#>>>
|
133
|
-
|
134
|
-
my $WARNED_NO_FLOCK = 0;
|
135
|
-
|
136
|
-
sub _throw {
|
137
|
-
my ( $self, $function, $file, $msg ) = @_;
|
138
|
-
if ( $function =~ /^flock/
|
139
|
-
&& $! =~ /operation not supported|function not implemented/i
|
140
|
-
&& !warnings::fatal_enabled('flock') )
|
141
|
-
{
|
142
|
-
if ( !$WARNED_NO_FLOCK ) {
|
143
|
-
warnings::warn( flock => "Flock not available: '$!': continuing in unsafe mode" );
|
144
|
-
$WARNED_NO_FLOCK++;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
else {
|
148
|
-
$msg = $! unless defined $msg;
|
149
|
-
Path::Tiny::Error->throw( $function, ( defined $file ? $file : $self->[PATH] ),
|
150
|
-
$msg );
|
151
|
-
}
|
152
|
-
return;
|
153
|
-
}
|
154
|
-
|
155
|
-
# cheapo option validation
|
156
|
-
sub _get_args {
|
157
|
-
my ( $raw, @valid ) = @_;
|
158
|
-
if ( defined($raw) && ref($raw) ne 'HASH' ) {
|
159
|
-
my ( undef, undef, undef, $called_as ) = caller(1);
|
160
|
-
$called_as =~ s{^.*::}{};
|
161
|
-
Carp::croak("Options for $called_as must be a hash reference");
|
162
|
-
}
|
163
|
-
my $cooked = {};
|
164
|
-
for my $k (@valid) {
|
165
|
-
$cooked->{$k} = delete $raw->{$k} if exists $raw->{$k};
|
166
|
-
}
|
167
|
-
if ( keys %$raw ) {
|
168
|
-
my ( undef, undef, undef, $called_as ) = caller(1);
|
169
|
-
$called_as =~ s{^.*::}{};
|
170
|
-
Carp::croak( "Invalid option(s) for $called_as: " . join( ", ", keys %$raw ) );
|
171
|
-
}
|
172
|
-
return $cooked;
|
173
|
-
}
|
174
|
-
|
175
|
-
#--------------------------------------------------------------------------#
|
176
|
-
# Constructors
|
177
|
-
#--------------------------------------------------------------------------#
|
178
|
-
|
179
|
-
#pod =construct path
|
180
|
-
#pod
|
181
|
-
#pod $path = path("foo/bar");
|
182
|
-
#pod $path = path("/tmp", "file.txt"); # list
|
183
|
-
#pod $path = path("."); # cwd
|
184
|
-
#pod
|
185
|
-
#pod Constructs a C<Path::Tiny> object. It doesn't matter if you give a file or
|
186
|
-
#pod directory path. It's still up to you to call directory-like methods only on
|
187
|
-
#pod directories and file-like methods only on files. This function is exported
|
188
|
-
#pod automatically by default.
|
189
|
-
#pod
|
190
|
-
#pod The first argument must be defined and have non-zero length or an exception
|
191
|
-
#pod will be thrown. This prevents subtle, dangerous errors with code like
|
192
|
-
#pod C<< path( maybe_undef() )->remove_tree >>.
|
193
|
-
#pod
|
194
|
-
#pod B<DEPRECATED>: If and only if the B<first> character of the B<first> argument
|
195
|
-
#pod to C<path> is a tilde ('~'), then tilde replacement will be applied to the
|
196
|
-
#pod first path segment. A single tilde will be replaced with C<glob('~')> and a
|
197
|
-
#pod tilde followed by a username will be replaced with output of
|
198
|
-
#pod C<glob('~username')>. B<No other method does tilde expansion on its arguments>.
|
199
|
-
#pod See L</Tilde expansion (deprecated)> for more.
|
200
|
-
#pod
|
201
|
-
#pod On Windows, if the path consists of a drive identifier without a path component
|
202
|
-
#pod (C<C:> or C<D:>), it will be expanded to the absolute path of the current
|
203
|
-
#pod directory on that volume using C<Cwd::getdcwd()>.
|
204
|
-
#pod
|
205
|
-
#pod If called with a single C<Path::Tiny> argument, the original is returned unless
|
206
|
-
#pod the original is holding a temporary file or directory reference in which case a
|
207
|
-
#pod stringified copy is made.
|
208
|
-
#pod
|
209
|
-
#pod $path = path("foo/bar");
|
210
|
-
#pod $temp = Path::Tiny->tempfile;
|
211
|
-
#pod
|
212
|
-
#pod $p2 = path($path); # like $p2 = $path
|
213
|
-
#pod $t2 = path($temp); # like $t2 = path( "$temp" )
|
214
|
-
#pod
|
215
|
-
#pod This optimizes copies without proliferating references unexpectedly if a copy is
|
216
|
-
#pod made by code outside your control.
|
217
|
-
#pod
|
218
|
-
#pod Current API available since 0.017.
|
219
|
-
#pod
|
220
|
-
#pod =cut
|
221
|
-
|
222
|
-
sub path {
|
223
|
-
my $path = shift;
|
224
|
-
Carp::croak("Path::Tiny paths require defined, positive-length parts")
|
225
|
-
unless 1 + @_ == grep { defined && length } $path, @_;
|
226
|
-
|
227
|
-
# non-temp Path::Tiny objects are effectively immutable and can be reused
|
228
|
-
if ( !@_ && ref($path) eq __PACKAGE__ && !$path->[TEMP] ) {
|
229
|
-
return $path;
|
230
|
-
}
|
231
|
-
|
232
|
-
# stringify objects
|
233
|
-
$path = "$path";
|
234
|
-
|
235
|
-
# do any tilde expansions
|
236
|
-
my ($tilde) = $path =~ m{^(~[^/]*)};
|
237
|
-
if ( defined $tilde ) {
|
238
|
-
# Escape File::Glob metacharacters
|
239
|
-
(my $escaped = $tilde) =~ s/([\[\{\*\?\\])/\\$1/g;
|
240
|
-
require File::Glob;
|
241
|
-
my ($homedir) = File::Glob::bsd_glob($escaped);
|
242
|
-
if (defined $homedir && ! $File::Glob::ERROR) {
|
243
|
-
$homedir =~ tr[\\][/] if IS_WIN32();
|
244
|
-
$path =~ s{^\Q$tilde\E}{$homedir};
|
245
|
-
}
|
246
|
-
}
|
247
|
-
|
248
|
-
unshift @_, $path;
|
249
|
-
goto &_pathify;
|
250
|
-
}
|
251
|
-
|
252
|
-
# _path is like path but without tilde expansion
|
253
|
-
sub _path {
|
254
|
-
my $path = shift;
|
255
|
-
Carp::croak("Path::Tiny paths require defined, positive-length parts")
|
256
|
-
unless 1 + @_ == grep { defined && length } $path, @_;
|
257
|
-
|
258
|
-
# non-temp Path::Tiny objects are effectively immutable and can be reused
|
259
|
-
if ( !@_ && ref($path) eq __PACKAGE__ && !$path->[TEMP] ) {
|
260
|
-
return $path;
|
261
|
-
}
|
262
|
-
|
263
|
-
# stringify objects
|
264
|
-
$path = "$path";
|
265
|
-
|
266
|
-
unshift @_, $path;
|
267
|
-
goto &_pathify;
|
268
|
-
}
|
269
|
-
|
270
|
-
# _pathify expects one or more string arguments, then joins and canonicalizes
|
271
|
-
# them into an object.
|
272
|
-
sub _pathify {
|
273
|
-
my $path = shift;
|
274
|
-
|
275
|
-
# expand relative volume paths on windows; put trailing slash on UNC root
|
276
|
-
if ( IS_WIN32() ) {
|
277
|
-
$path = _win32_vol( $path, $1 ) if $path =~ m{^($DRV_VOL)(?:$NOTSLASH|\z)};
|
278
|
-
$path .= "/" if $path =~ m{^$UNC_VOL\z};
|
279
|
-
}
|
280
|
-
|
281
|
-
# concatenations stringifies objects, too
|
282
|
-
if (@_) {
|
283
|
-
$path .= ( _is_root($path) ? "" : "/" ) . join( "/", @_ );
|
284
|
-
}
|
285
|
-
|
286
|
-
|
287
|
-
# canonicalize, but with unix slashes and put back trailing volume slash
|
288
|
-
my $cpath = $path = File::Spec->canonpath($path);
|
289
|
-
$path =~ tr[\\][/] if IS_WIN32();
|
290
|
-
$path = "/" if $path eq '/..'; # for old File::Spec
|
291
|
-
$path .= "/" if IS_WIN32() && $path =~ m{^$UNC_VOL\z};
|
292
|
-
|
293
|
-
# root paths must always have a trailing slash, but other paths must not
|
294
|
-
if ( _is_root($path) ) {
|
295
|
-
$path =~ s{/?\z}{/};
|
296
|
-
}
|
297
|
-
else {
|
298
|
-
$path =~ s{/\z}{};
|
299
|
-
}
|
300
|
-
|
301
|
-
bless [ $path, $cpath ], __PACKAGE__;
|
302
|
-
}
|
303
|
-
|
304
|
-
#pod =construct new
|
305
|
-
#pod
|
306
|
-
#pod $path = Path::Tiny->new("foo/bar");
|
307
|
-
#pod
|
308
|
-
#pod This is just like C<path>, but with method call overhead. (Why would you
|
309
|
-
#pod do that?)
|
310
|
-
#pod
|
311
|
-
#pod Current API available since 0.001.
|
312
|
-
#pod
|
313
|
-
#pod =cut
|
314
|
-
|
315
|
-
sub new { shift; path(@_) }
|
316
|
-
|
317
|
-
#pod =construct cwd
|
318
|
-
#pod
|
319
|
-
#pod $path = Path::Tiny->cwd; # path( Cwd::getcwd )
|
320
|
-
#pod $path = cwd; # optional export
|
321
|
-
#pod
|
322
|
-
#pod Gives you the absolute path to the current directory as a C<Path::Tiny> object.
|
323
|
-
#pod This is slightly faster than C<< path(".")->absolute >>.
|
324
|
-
#pod
|
325
|
-
#pod C<cwd> may be exported on request and used as a function instead of as a
|
326
|
-
#pod method.
|
327
|
-
#pod
|
328
|
-
#pod Current API available since 0.018.
|
329
|
-
#pod
|
330
|
-
#pod =cut
|
331
|
-
|
332
|
-
sub cwd {
|
333
|
-
require Cwd;
|
334
|
-
return _path( Cwd::getcwd() );
|
335
|
-
}
|
336
|
-
|
337
|
-
#pod =construct rootdir
|
338
|
-
#pod
|
339
|
-
#pod $path = Path::Tiny->rootdir; # /
|
340
|
-
#pod $path = rootdir; # optional export
|
341
|
-
#pod
|
342
|
-
#pod Gives you C<< File::Spec->rootdir >> as a C<Path::Tiny> object if you're too
|
343
|
-
#pod picky for C<path("/")>.
|
344
|
-
#pod
|
345
|
-
#pod C<rootdir> may be exported on request and used as a function instead of as a
|
346
|
-
#pod method.
|
347
|
-
#pod
|
348
|
-
#pod Current API available since 0.018.
|
349
|
-
#pod
|
350
|
-
#pod =cut
|
351
|
-
|
352
|
-
sub rootdir { _path( File::Spec->rootdir ) }
|
353
|
-
|
354
|
-
#pod =construct tempfile, tempdir
|
355
|
-
#pod
|
356
|
-
#pod $temp = Path::Tiny->tempfile( @options );
|
357
|
-
#pod $temp = Path::Tiny->tempdir( @options );
|
358
|
-
#pod $temp = $dirpath->tempfile( @options );
|
359
|
-
#pod $temp = $dirpath->tempdir( @options );
|
360
|
-
#pod $temp = tempfile( @options ); # optional export
|
361
|
-
#pod $temp = tempdir( @options ); # optional export
|
362
|
-
#pod
|
363
|
-
#pod C<tempfile> passes the options to C<< File::Temp->new >> and returns a
|
364
|
-
#pod C<Path::Tiny> object with the file name. The C<TMPDIR> option will be enabled
|
365
|
-
#pod by default, but you can override that by passing C<< TMPDIR => 0 >> along with
|
366
|
-
#pod the options. (If you use an absolute C<TEMPLATE> option, you will want to
|
367
|
-
#pod disable C<TMPDIR>.)
|
368
|
-
#pod
|
369
|
-
#pod The resulting C<File::Temp> object is cached. When the C<Path::Tiny> object is
|
370
|
-
#pod destroyed, the C<File::Temp> object will be as well.
|
371
|
-
#pod
|
372
|
-
#pod C<File::Temp> annoyingly requires you to specify a custom template in slightly
|
373
|
-
#pod different ways depending on which function or method you call, but
|
374
|
-
#pod C<Path::Tiny> lets you ignore that and can take either a leading template or a
|
375
|
-
#pod C<TEMPLATE> option and does the right thing.
|
376
|
-
#pod
|
377
|
-
#pod $temp = Path::Tiny->tempfile( "customXXXXXXXX" ); # ok
|
378
|
-
#pod $temp = Path::Tiny->tempfile( TEMPLATE => "customXXXXXXXX" ); # ok
|
379
|
-
#pod
|
380
|
-
#pod The tempfile path object will be normalized to have an absolute path, even if
|
381
|
-
#pod created in a relative directory using C<DIR>. If you want it to have
|
382
|
-
#pod the C<realpath> instead, pass a leading options hash like this:
|
383
|
-
#pod
|
384
|
-
#pod $real_temp = tempfile({realpath => 1}, @options);
|
385
|
-
#pod
|
386
|
-
#pod C<tempdir> is just like C<tempfile>, except it calls
|
387
|
-
#pod C<< File::Temp->newdir >> instead.
|
388
|
-
#pod
|
389
|
-
#pod Both C<tempfile> and C<tempdir> may be exported on request and used as
|
390
|
-
#pod functions instead of as methods.
|
391
|
-
#pod
|
392
|
-
#pod The methods can be called on an instances representing a
|
393
|
-
#pod directory. In this case, the directory is used as the base to create the
|
394
|
-
#pod temporary file/directory, setting the C<DIR> option in File::Temp.
|
395
|
-
#pod
|
396
|
-
#pod my $target_dir = path('/to/destination');
|
397
|
-
#pod my $tempfile = $target_dir->tempfile('foobarXXXXXX');
|
398
|
-
#pod $tempfile->spew('A lot of data...'); # not atomic
|
399
|
-
#pod $tempfile->move($target_dir->child('foobar')); # hopefully atomic
|
400
|
-
#pod
|
401
|
-
#pod In this case, any value set for option C<DIR> is ignored.
|
402
|
-
#pod
|
403
|
-
#pod B<Note>: for tempfiles, the filehandles from File::Temp are closed and not
|
404
|
-
#pod reused. This is not as secure as using File::Temp handles directly, but is
|
405
|
-
#pod less prone to deadlocks or access problems on some platforms. Think of what
|
406
|
-
#pod C<Path::Tiny> gives you to be just a temporary file B<name> that gets cleaned
|
407
|
-
#pod up.
|
408
|
-
#pod
|
409
|
-
#pod B<Note 2>: if you don't want these cleaned up automatically when the object
|
410
|
-
#pod is destroyed, File::Temp requires different options for directories and
|
411
|
-
#pod files. Use C<< CLEANUP => 0 >> for directories and C<< UNLINK => 0 >> for
|
412
|
-
#pod files.
|
413
|
-
#pod
|
414
|
-
#pod B<Note 3>: Don't lose the temporary object by chaining a method call instead
|
415
|
-
#pod of storing it:
|
416
|
-
#pod
|
417
|
-
#pod my $lost = tempdir()->child("foo"); # tempdir cleaned up right away
|
418
|
-
#pod
|
419
|
-
#pod B<Note 4>: The cached object may be accessed with the L</cached_temp> method.
|
420
|
-
#pod Keeping a reference to, or modifying the cached object may break the
|
421
|
-
#pod behavior documented above and is not supported. Use at your own risk.
|
422
|
-
#pod
|
423
|
-
#pod Current API available since 0.119.
|
424
|
-
#pod
|
425
|
-
#pod =cut
|
426
|
-
|
427
|
-
sub tempfile {
|
428
|
-
my ( $opts, $maybe_template, $args )
|
429
|
-
= _parse_file_temp_args(tempfile => @_);
|
430
|
-
|
431
|
-
# File::Temp->new demands TEMPLATE
|
432
|
-
$args->{TEMPLATE} = $maybe_template->[0] if @$maybe_template;
|
433
|
-
|
434
|
-
require File::Temp;
|
435
|
-
my $temp = File::Temp->new( TMPDIR => 1, %$args );
|
436
|
-
close $temp;
|
437
|
-
my $self = $opts->{realpath} ? _path($temp)->realpath : _path($temp)->absolute;
|
438
|
-
$self->[TEMP] = $temp; # keep object alive while we are
|
439
|
-
return $self;
|
440
|
-
}
|
441
|
-
|
442
|
-
sub tempdir {
|
443
|
-
my ( $opts, $maybe_template, $args )
|
444
|
-
= _parse_file_temp_args(tempdir => @_);
|
445
|
-
|
446
|
-
require File::Temp;
|
447
|
-
my $temp = File::Temp->newdir( @$maybe_template, TMPDIR => 1, %$args );
|
448
|
-
my $self = $opts->{realpath} ? _path($temp)->realpath : _path($temp)->absolute;
|
449
|
-
$self->[TEMP] = $temp; # keep object alive while we are
|
450
|
-
# Some ActiveState Perls for Windows break Cwd in ways that lead
|
451
|
-
# File::Temp to get confused about what path to remove; this
|
452
|
-
# monkey-patches the object with our own view of the absolute path
|
453
|
-
$temp->{REALNAME} = $self->[CANON] if IS_WIN32;
|
454
|
-
return $self;
|
455
|
-
}
|
456
|
-
|
457
|
-
# normalize the various ways File::Temp does templates
|
458
|
-
sub _parse_file_temp_args {
|
459
|
-
my $called_as = shift;
|
460
|
-
if ( @_ && $_[0] eq 'Path::Tiny' ) { shift } # class method
|
461
|
-
elsif ( @_ && eval{$_[0]->isa('Path::Tiny')} ) {
|
462
|
-
my $dir = shift;
|
463
|
-
if (! $dir->is_dir) {
|
464
|
-
$dir->_throw( $called_as, $dir, "is not a directory object" );
|
465
|
-
}
|
466
|
-
push @_, DIR => $dir->stringify; # no overriding
|
467
|
-
}
|
468
|
-
my $opts = ( @_ && ref $_[0] eq 'HASH' ) ? shift @_ : {};
|
469
|
-
$opts = _get_args( $opts, qw/realpath/ );
|
470
|
-
|
471
|
-
my $leading_template = ( scalar(@_) % 2 == 1 ? shift(@_) : '' );
|
472
|
-
my %args = @_;
|
473
|
-
%args = map { uc($_), $args{$_} } keys %args;
|
474
|
-
my @template = (
|
475
|
-
exists $args{TEMPLATE} ? delete $args{TEMPLATE}
|
476
|
-
: $leading_template ? $leading_template
|
477
|
-
: ()
|
478
|
-
);
|
479
|
-
|
480
|
-
return ( $opts, \@template, \%args );
|
481
|
-
}
|
482
|
-
|
483
|
-
#--------------------------------------------------------------------------#
|
484
|
-
# Private methods
|
485
|
-
#--------------------------------------------------------------------------#
|
486
|
-
|
487
|
-
sub _splitpath {
|
488
|
-
my ($self) = @_;
|
489
|
-
@{$self}[ VOL, DIR, FILE ] = File::Spec->splitpath( $self->[PATH] );
|
490
|
-
}
|
491
|
-
|
492
|
-
sub _resolve_symlinks {
|
493
|
-
my ($self) = @_;
|
494
|
-
my $new = $self;
|
495
|
-
my ( $count, %seen ) = 0;
|
496
|
-
while ( -l $new->[PATH] ) {
|
497
|
-
if ( $seen{ $new->[PATH] }++ ) {
|
498
|
-
$self->_throw( 'readlink', $self->[PATH], "symlink loop detected" );
|
499
|
-
}
|
500
|
-
if ( ++$count > 100 ) {
|
501
|
-
$self->_throw( 'readlink', $self->[PATH], "maximum symlink depth exceeded" );
|
502
|
-
}
|
503
|
-
my $resolved = readlink $new->[PATH];
|
504
|
-
$new->_throw( 'readlink', $new->[PATH] ) unless defined $resolved;
|
505
|
-
$resolved = _path($resolved);
|
506
|
-
$new = $resolved->is_absolute ? $resolved : $new->sibling($resolved);
|
507
|
-
}
|
508
|
-
return $new;
|
509
|
-
}
|
510
|
-
|
511
|
-
sub _replacment_path {
|
512
|
-
my ($self) = @_;
|
513
|
-
|
514
|
-
my $unique_suffix = $$ . int( rand( 2**31 ) );
|
515
|
-
my $temp = _path( $self . $unique_suffix );
|
516
|
-
|
517
|
-
# If filename with process+random suffix is too long, use a shorter
|
518
|
-
# version that doesn't preserve the basename.
|
519
|
-
if ( length $temp->basename > 255 ) {
|
520
|
-
$temp = $self->sibling( "temp" . $unique_suffix );
|
521
|
-
}
|
522
|
-
|
523
|
-
return $temp;
|
524
|
-
}
|
525
|
-
|
526
|
-
#--------------------------------------------------------------------------#
|
527
|
-
# Public methods
|
528
|
-
#--------------------------------------------------------------------------#
|
529
|
-
|
530
|
-
#pod =method absolute
|
531
|
-
#pod
|
532
|
-
#pod $abs = path("foo/bar")->absolute;
|
533
|
-
#pod $abs = path("foo/bar")->absolute("/tmp");
|
534
|
-
#pod
|
535
|
-
#pod Returns a new C<Path::Tiny> object with an absolute path (or itself if already
|
536
|
-
#pod absolute). If no argument is given, the current directory is used as the
|
537
|
-
#pod absolute base path. If an argument is given, it will be converted to an
|
538
|
-
#pod absolute path (if it is not already) and used as the absolute base path.
|
539
|
-
#pod
|
540
|
-
#pod This will not resolve upward directories ("foo/../bar") unless C<canonpath>
|
541
|
-
#pod in L<File::Spec> would normally do so on your platform. If you need them
|
542
|
-
#pod resolved, you must call the more expensive C<realpath> method instead.
|
543
|
-
#pod
|
544
|
-
#pod On Windows, an absolute path without a volume component will have it added
|
545
|
-
#pod based on the current drive.
|
546
|
-
#pod
|
547
|
-
#pod Current API available since 0.101.
|
548
|
-
#pod
|
549
|
-
#pod =cut
|
550
|
-
|
551
|
-
sub absolute {
|
552
|
-
my ( $self, $base ) = @_;
|
553
|
-
|
554
|
-
# absolute paths handled differently by OS
|
555
|
-
if (IS_WIN32) {
|
556
|
-
return $self if length $self->volume;
|
557
|
-
# add missing volume
|
558
|
-
if ( $self->is_absolute ) {
|
559
|
-
require Cwd;
|
560
|
-
# use Win32::GetCwd not Cwd::getdcwd because we're sure
|
561
|
-
# to have the former but not necessarily the latter
|
562
|
-
my ($drv) = Win32::GetCwd() =~ /^($DRV_VOL | $UNC_VOL)/x;
|
563
|
-
return _path( $drv . $self->[PATH] );
|
564
|
-
}
|
565
|
-
}
|
566
|
-
else {
|
567
|
-
return $self if $self->is_absolute;
|
568
|
-
}
|
569
|
-
|
570
|
-
# no base means use current directory as base
|
571
|
-
require Cwd;
|
572
|
-
return _path( Cwd::getcwd(), $_[0]->[PATH] ) unless defined $base;
|
573
|
-
|
574
|
-
# relative base should be made absolute; we check is_absolute rather
|
575
|
-
# than unconditionally make base absolute so that "/foo" doesn't become
|
576
|
-
# "C:/foo" on Windows.
|
577
|
-
$base = _path($base);
|
578
|
-
return _path( ( $base->is_absolute ? $base : $base->absolute ), $_[0]->[PATH] );
|
579
|
-
}
|
580
|
-
|
581
|
-
#pod =method append, append_raw, append_utf8
|
582
|
-
#pod
|
583
|
-
#pod path("foo.txt")->append(@data);
|
584
|
-
#pod path("foo.txt")->append(\@data);
|
585
|
-
#pod path("foo.txt")->append({binmode => ":raw"}, @data);
|
586
|
-
#pod path("foo.txt")->append_raw(@data);
|
587
|
-
#pod path("foo.txt")->append_utf8(@data);
|
588
|
-
#pod
|
589
|
-
#pod Appends data to a file. The file is locked with C<flock> prior to writing
|
590
|
-
#pod and closed afterwards. An optional hash reference may be used to pass
|
591
|
-
#pod options. Valid options are:
|
592
|
-
#pod
|
593
|
-
#pod =for :list
|
594
|
-
#pod * C<binmode>: passed to C<binmode()> on the handle used for writing.
|
595
|
-
#pod * C<truncate>: truncates the file after locking and before appending
|
596
|
-
#pod
|
597
|
-
#pod The C<truncate> option is a way to replace the contents of a file
|
598
|
-
#pod B<in place>, unlike L</spew> which writes to a temporary file and then
|
599
|
-
#pod replaces the original (if it exists).
|
600
|
-
#pod
|
601
|
-
#pod C<append_raw> is like C<append> with a C<binmode> of C<:unix> for a fast,
|
602
|
-
#pod unbuffered, raw write.
|
603
|
-
#pod
|
604
|
-
#pod C<append_utf8> is like C<append> with an unbuffered C<binmode>
|
605
|
-
#pod C<:unix:encoding(UTF-8)> (or C<:unix:utf8_strict> with
|
606
|
-
#pod L<PerlIO::utf8_strict>). If L<Unicode::UTF8> 0.58+ is installed, an
|
607
|
-
#pod unbuffered, raw append will be done instead on the data encoded with
|
608
|
-
#pod C<Unicode::UTF8>.
|
609
|
-
#pod
|
610
|
-
#pod Current API available since 0.060.
|
611
|
-
#pod
|
612
|
-
#pod =cut
|
613
|
-
|
614
|
-
sub append {
|
615
|
-
my ( $self, @data ) = @_;
|
616
|
-
my $args = ( @data && ref $data[0] eq 'HASH' ) ? shift @data : {};
|
617
|
-
$args = _get_args( $args, qw/binmode truncate/ );
|
618
|
-
my $binmode = $args->{binmode};
|
619
|
-
$binmode = ( ( caller(0) )[10] || {} )->{'open>'} unless defined $binmode;
|
620
|
-
my $mode = $args->{truncate} ? ">" : ">>";
|
621
|
-
my $fh = $self->filehandle( { locked => 1 }, $mode, $binmode );
|
622
|
-
print( {$fh} map { ref eq 'ARRAY' ? @$_ : $_ } @data ) or self->_throw('print');
|
623
|
-
close $fh or $self->_throw('close');
|
624
|
-
}
|
625
|
-
|
626
|
-
sub append_raw {
|
627
|
-
my ( $self, @data ) = @_;
|
628
|
-
my $args = ( @data && ref $data[0] eq 'HASH' ) ? shift @data : {};
|
629
|
-
$args = _get_args( $args, qw/binmode truncate/ );
|
630
|
-
$args->{binmode} = ':unix';
|
631
|
-
append( $self, $args, @data );
|
632
|
-
}
|
633
|
-
|
634
|
-
sub append_utf8 {
|
635
|
-
my ( $self, @data ) = @_;
|
636
|
-
my $args = ( @data && ref $data[0] eq 'HASH' ) ? shift @data : {};
|
637
|
-
$args = _get_args( $args, qw/binmode truncate/ );
|
638
|
-
if ( defined($HAS_UU) ? $HAS_UU : ( $HAS_UU = _check_UU() ) ) {
|
639
|
-
$args->{binmode} = ":unix";
|
640
|
-
append( $self, $args, map { Unicode::UTF8::encode_utf8($_) } @data );
|
641
|
-
}
|
642
|
-
elsif ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
643
|
-
$args->{binmode} = ":unix:utf8_strict";
|
644
|
-
append( $self, $args, @data );
|
645
|
-
}
|
646
|
-
else {
|
647
|
-
$args->{binmode} = ":unix:encoding(UTF-8)";
|
648
|
-
append( $self, $args, @data );
|
649
|
-
}
|
650
|
-
}
|
651
|
-
|
652
|
-
#pod =method assert
|
653
|
-
#pod
|
654
|
-
#pod $path = path("foo.txt")->assert( sub { $_->exists } );
|
655
|
-
#pod
|
656
|
-
#pod Returns the invocant after asserting that a code reference argument returns
|
657
|
-
#pod true. When the assertion code reference runs, it will have the invocant
|
658
|
-
#pod object in the C<$_> variable. If it returns false, an exception will be
|
659
|
-
#pod thrown. The assertion code reference may also throw its own exception.
|
660
|
-
#pod
|
661
|
-
#pod If no assertion is provided, the invocant is returned without error.
|
662
|
-
#pod
|
663
|
-
#pod Current API available since 0.062.
|
664
|
-
#pod
|
665
|
-
#pod =cut
|
666
|
-
|
667
|
-
sub assert {
|
668
|
-
my ( $self, $assertion ) = @_;
|
669
|
-
return $self unless $assertion;
|
670
|
-
if ( ref $assertion eq 'CODE' ) {
|
671
|
-
local $_ = $self;
|
672
|
-
$assertion->()
|
673
|
-
or Path::Tiny::Error->throw( "assert", $self->[PATH], "failed assertion" );
|
674
|
-
}
|
675
|
-
else {
|
676
|
-
Carp::croak("argument to assert must be a code reference argument");
|
677
|
-
}
|
678
|
-
return $self;
|
679
|
-
}
|
680
|
-
|
681
|
-
#pod =method basename
|
682
|
-
#pod
|
683
|
-
#pod $name = path("foo/bar.txt")->basename; # bar.txt
|
684
|
-
#pod $name = path("foo.txt")->basename('.txt'); # foo
|
685
|
-
#pod $name = path("foo.txt")->basename(qr/.txt/); # foo
|
686
|
-
#pod $name = path("foo.txt")->basename(@suffixes);
|
687
|
-
#pod
|
688
|
-
#pod Returns the file portion or last directory portion of a path.
|
689
|
-
#pod
|
690
|
-
#pod Given a list of suffixes as strings or regular expressions, any that match at
|
691
|
-
#pod the end of the file portion or last directory portion will be removed before
|
692
|
-
#pod the result is returned.
|
693
|
-
#pod
|
694
|
-
#pod Current API available since 0.054.
|
695
|
-
#pod
|
696
|
-
#pod =cut
|
697
|
-
|
698
|
-
sub basename {
|
699
|
-
my ( $self, @suffixes ) = @_;
|
700
|
-
$self->_splitpath unless defined $self->[FILE];
|
701
|
-
my $file = $self->[FILE];
|
702
|
-
for my $s (@suffixes) {
|
703
|
-
my $re = ref($s) eq 'Regexp' ? qr/$s\z/ : qr/\Q$s\E\z/;
|
704
|
-
last if $file =~ s/$re//;
|
705
|
-
}
|
706
|
-
return $file;
|
707
|
-
}
|
708
|
-
|
709
|
-
#pod =method canonpath
|
710
|
-
#pod
|
711
|
-
#pod $canonical = path("foo/bar")->canonpath; # foo\bar on Windows
|
712
|
-
#pod
|
713
|
-
#pod Returns a string with the canonical format of the path name for
|
714
|
-
#pod the platform. In particular, this means directory separators
|
715
|
-
#pod will be C<\> on Windows.
|
716
|
-
#pod
|
717
|
-
#pod Current API available since 0.001.
|
718
|
-
#pod
|
719
|
-
#pod =cut
|
720
|
-
|
721
|
-
sub canonpath { $_[0]->[CANON] }
|
722
|
-
|
723
|
-
#pod =method cached_temp
|
724
|
-
#pod
|
725
|
-
#pod Returns the cached C<File::Temp> or C<File::Temp::Dir> object if the
|
726
|
-
#pod C<Path::Tiny> object was created with C</tempfile> or C</tempdir>.
|
727
|
-
#pod If there is no such object, this method throws.
|
728
|
-
#pod
|
729
|
-
#pod B<WARNING>: Keeping a reference to, or modifying the cached object may
|
730
|
-
#pod break the behavior documented for temporary files and directories created
|
731
|
-
#pod with C<Path::Tiny> and is not supported. Use at your own risk.
|
732
|
-
#pod
|
733
|
-
#pod Current API available since 0.101.
|
734
|
-
#pod
|
735
|
-
#pod =cut
|
736
|
-
|
737
|
-
sub cached_temp {
|
738
|
-
my $self = shift;
|
739
|
-
$self->_throw( "cached_temp", $self, "has no cached File::Temp object" )
|
740
|
-
unless defined $self->[TEMP];
|
741
|
-
return $self->[TEMP];
|
742
|
-
}
|
743
|
-
|
744
|
-
#pod =method child
|
745
|
-
#pod
|
746
|
-
#pod $file = path("/tmp")->child("foo.txt"); # "/tmp/foo.txt"
|
747
|
-
#pod $file = path("/tmp")->child(@parts);
|
748
|
-
#pod
|
749
|
-
#pod Returns a new C<Path::Tiny> object relative to the original. Works
|
750
|
-
#pod like C<catfile> or C<catdir> from File::Spec, but without caring about
|
751
|
-
#pod file or directories.
|
752
|
-
#pod
|
753
|
-
#pod B<WARNING>: because the argument could contain C<..> or refer to symlinks,
|
754
|
-
#pod there is no guarantee that the new path refers to an actual descendent of
|
755
|
-
#pod the original. If this is important to you, transform parent and child with
|
756
|
-
#pod L</realpath> and check them with L</subsumes>.
|
757
|
-
#pod
|
758
|
-
#pod Current API available since 0.001.
|
759
|
-
#pod
|
760
|
-
#pod =cut
|
761
|
-
|
762
|
-
sub child {
|
763
|
-
my ( $self, @parts ) = @_;
|
764
|
-
return _path( $self->[PATH], @parts );
|
765
|
-
}
|
766
|
-
|
767
|
-
#pod =method children
|
768
|
-
#pod
|
769
|
-
#pod @paths = path("/tmp")->children;
|
770
|
-
#pod @paths = path("/tmp")->children( qr/\.txt\z/ );
|
771
|
-
#pod
|
772
|
-
#pod Returns a list of C<Path::Tiny> objects for all files and directories
|
773
|
-
#pod within a directory. Excludes "." and ".." automatically.
|
774
|
-
#pod
|
775
|
-
#pod If an optional C<qr//> argument is provided, it only returns objects for child
|
776
|
-
#pod names that match the given regular expression. Only the base name is used
|
777
|
-
#pod for matching:
|
778
|
-
#pod
|
779
|
-
#pod @paths = path("/tmp")->children( qr/^foo/ );
|
780
|
-
#pod # matches children like the glob foo*
|
781
|
-
#pod
|
782
|
-
#pod Current API available since 0.028.
|
783
|
-
#pod
|
784
|
-
#pod =cut
|
785
|
-
|
786
|
-
sub children {
|
787
|
-
my ( $self, $filter ) = @_;
|
788
|
-
my $dh;
|
789
|
-
opendir $dh, $self->[PATH] or $self->_throw('opendir');
|
790
|
-
my @children = readdir $dh;
|
791
|
-
closedir $dh or $self->_throw('closedir');
|
792
|
-
|
793
|
-
if ( not defined $filter ) {
|
794
|
-
@children = grep { $_ ne '.' && $_ ne '..' } @children;
|
795
|
-
}
|
796
|
-
elsif ( $filter && ref($filter) eq 'Regexp' ) {
|
797
|
-
@children = grep { $_ ne '.' && $_ ne '..' && $_ =~ $filter } @children;
|
798
|
-
}
|
799
|
-
else {
|
800
|
-
Carp::croak("Invalid argument '$filter' for children()");
|
801
|
-
}
|
802
|
-
|
803
|
-
return map { _path( $self->[PATH], $_ ) } @children;
|
804
|
-
}
|
805
|
-
|
806
|
-
#pod =method chmod
|
807
|
-
#pod
|
808
|
-
#pod path("foo.txt")->chmod(0777);
|
809
|
-
#pod path("foo.txt")->chmod("0755");
|
810
|
-
#pod path("foo.txt")->chmod("go-w");
|
811
|
-
#pod path("foo.txt")->chmod("a=r,u+wx");
|
812
|
-
#pod
|
813
|
-
#pod Sets file or directory permissions. The argument can be a numeric mode, a
|
814
|
-
#pod octal string beginning with a "0" or a limited subset of the symbolic mode use
|
815
|
-
#pod by F</bin/chmod>.
|
816
|
-
#pod
|
817
|
-
#pod The symbolic mode must be a comma-delimited list of mode clauses. Clauses must
|
818
|
-
#pod match C<< qr/\A([augo]+)([=+-])([rwx]+)\z/ >>, which defines "who", "op" and
|
819
|
-
#pod "perms" parameters for each clause. Unlike F</bin/chmod>, all three parameters
|
820
|
-
#pod are required for each clause, multiple ops are not allowed and permissions
|
821
|
-
#pod C<stugoX> are not supported. (See L<File::chmod> for more complex needs.)
|
822
|
-
#pod
|
823
|
-
#pod Current API available since 0.053.
|
824
|
-
#pod
|
825
|
-
#pod =cut
|
826
|
-
|
827
|
-
sub chmod {
|
828
|
-
my ( $self, $new_mode ) = @_;
|
829
|
-
|
830
|
-
my $mode;
|
831
|
-
if ( $new_mode =~ /\d/ ) {
|
832
|
-
$mode = ( $new_mode =~ /^0/ ? oct($new_mode) : $new_mode );
|
833
|
-
}
|
834
|
-
elsif ( $new_mode =~ /[=+-]/ ) {
|
835
|
-
$mode = _symbolic_chmod( $self->stat->mode & 07777, $new_mode ); ## no critic
|
836
|
-
}
|
837
|
-
else {
|
838
|
-
Carp::croak("Invalid mode argument '$new_mode' for chmod()");
|
839
|
-
}
|
840
|
-
|
841
|
-
CORE::chmod( $mode, $self->[PATH] ) or $self->_throw("chmod");
|
842
|
-
|
843
|
-
return 1;
|
844
|
-
}
|
845
|
-
|
846
|
-
#pod =method copy
|
847
|
-
#pod
|
848
|
-
#pod path("/tmp/foo.txt")->copy("/tmp/bar.txt");
|
849
|
-
#pod
|
850
|
-
#pod Copies the current path to the given destination using L<File::Copy>'s
|
851
|
-
#pod C<copy> function. Upon success, returns the C<Path::Tiny> object for the
|
852
|
-
#pod newly copied file.
|
853
|
-
#pod
|
854
|
-
#pod Current API available since 0.070.
|
855
|
-
#pod
|
856
|
-
#pod =cut
|
857
|
-
|
858
|
-
# XXX do recursively for directories?
|
859
|
-
sub copy {
|
860
|
-
my ( $self, $dest ) = @_;
|
861
|
-
require File::Copy;
|
862
|
-
File::Copy::copy( $self->[PATH], $dest )
|
863
|
-
or Carp::croak("copy failed for $self to $dest: $!");
|
864
|
-
|
865
|
-
return -d $dest ? _path( $dest, $self->basename ) : _path($dest);
|
866
|
-
}
|
867
|
-
|
868
|
-
#pod =method digest
|
869
|
-
#pod
|
870
|
-
#pod $obj = path("/tmp/foo.txt")->digest; # SHA-256
|
871
|
-
#pod $obj = path("/tmp/foo.txt")->digest("MD5"); # user-selected
|
872
|
-
#pod $obj = path("/tmp/foo.txt")->digest( { chunk_size => 1e6 }, "MD5" );
|
873
|
-
#pod
|
874
|
-
#pod Returns a hexadecimal digest for a file. An optional hash reference of options may
|
875
|
-
#pod be given. The only option is C<chunk_size>. If C<chunk_size> is given, that many
|
876
|
-
#pod bytes will be read at a time. If not provided, the entire file will be slurped
|
877
|
-
#pod into memory to compute the digest.
|
878
|
-
#pod
|
879
|
-
#pod Any subsequent arguments are passed to the constructor for L<Digest> to select
|
880
|
-
#pod an algorithm. If no arguments are given, the default is SHA-256.
|
881
|
-
#pod
|
882
|
-
#pod Current API available since 0.056.
|
883
|
-
#pod
|
884
|
-
#pod =cut
|
885
|
-
|
886
|
-
sub digest {
|
887
|
-
my ( $self, @opts ) = @_;
|
888
|
-
my $args = ( @opts && ref $opts[0] eq 'HASH' ) ? shift @opts : {};
|
889
|
-
$args = _get_args( $args, qw/chunk_size/ );
|
890
|
-
unshift @opts, 'SHA-256' unless @opts;
|
891
|
-
require Digest;
|
892
|
-
my $digest = Digest->new(@opts);
|
893
|
-
if ( $args->{chunk_size} ) {
|
894
|
-
my $fh = $self->filehandle( { locked => 1 }, "<", ":unix" );
|
895
|
-
my $buf;
|
896
|
-
while (!eof($fh)) {
|
897
|
-
my $rc = read $fh, $buf, $args->{chunk_size};
|
898
|
-
$self->_throw('read') unless defined $rc;
|
899
|
-
$digest->add($buf);
|
900
|
-
}
|
901
|
-
}
|
902
|
-
else {
|
903
|
-
$digest->add( $self->slurp_raw );
|
904
|
-
}
|
905
|
-
return $digest->hexdigest;
|
906
|
-
}
|
907
|
-
|
908
|
-
#pod =method dirname (deprecated)
|
909
|
-
#pod
|
910
|
-
#pod $name = path("/tmp/foo.txt")->dirname; # "/tmp/"
|
911
|
-
#pod
|
912
|
-
#pod Returns the directory portion you would get from calling
|
913
|
-
#pod C<< File::Spec->splitpath( $path->stringify ) >> or C<"."> for a path without a
|
914
|
-
#pod parent directory portion. Because L<File::Spec> is inconsistent, the result
|
915
|
-
#pod might or might not have a trailing slash. Because of this, this method is
|
916
|
-
#pod B<deprecated>.
|
917
|
-
#pod
|
918
|
-
#pod A better, more consistently approach is likely C<< $path->parent->stringify >>,
|
919
|
-
#pod which will not have a trailing slash except for a root directory.
|
920
|
-
#pod
|
921
|
-
#pod Deprecated in 0.056.
|
922
|
-
#pod
|
923
|
-
#pod =cut
|
924
|
-
|
925
|
-
sub dirname {
|
926
|
-
my ($self) = @_;
|
927
|
-
$self->_splitpath unless defined $self->[DIR];
|
928
|
-
return length $self->[DIR] ? $self->[DIR] : ".";
|
929
|
-
}
|
930
|
-
|
931
|
-
#pod =method edit, edit_raw, edit_utf8
|
932
|
-
#pod
|
933
|
-
#pod path("foo.txt")->edit( \&callback, $options );
|
934
|
-
#pod path("foo.txt")->edit_utf8( \&callback );
|
935
|
-
#pod path("foo.txt")->edit_raw( \&callback );
|
936
|
-
#pod
|
937
|
-
#pod These are convenience methods that allow "editing" a file using a single
|
938
|
-
#pod callback argument. They slurp the file using C<slurp>, place the contents
|
939
|
-
#pod inside a localized C<$_> variable, call the callback function (without
|
940
|
-
#pod arguments), and then write C<$_> (presumably mutated) back to the
|
941
|
-
#pod file with C<spew>.
|
942
|
-
#pod
|
943
|
-
#pod An optional hash reference may be used to pass options. The only option is
|
944
|
-
#pod C<binmode>, which is passed to C<slurp> and C<spew>.
|
945
|
-
#pod
|
946
|
-
#pod C<edit_utf8> and C<edit_raw> act like their respective C<slurp_*> and
|
947
|
-
#pod C<spew_*> methods.
|
948
|
-
#pod
|
949
|
-
#pod Current API available since 0.077.
|
950
|
-
#pod
|
951
|
-
#pod =cut
|
952
|
-
|
953
|
-
sub edit {
|
954
|
-
my $self = shift;
|
955
|
-
my $cb = shift;
|
956
|
-
my $args = _get_args( shift, qw/binmode/ );
|
957
|
-
Carp::croak("Callback for edit() must be a code reference")
|
958
|
-
unless defined($cb) && ref($cb) eq 'CODE';
|
959
|
-
|
960
|
-
local $_ =
|
961
|
-
$self->slurp( exists( $args->{binmode} ) ? { binmode => $args->{binmode} } : () );
|
962
|
-
$cb->();
|
963
|
-
$self->spew( $args, $_ );
|
964
|
-
|
965
|
-
return;
|
966
|
-
}
|
967
|
-
|
968
|
-
# this is done long-hand to benefit from slurp_utf8 optimizations
|
969
|
-
sub edit_utf8 {
|
970
|
-
my ( $self, $cb ) = @_;
|
971
|
-
Carp::croak("Callback for edit_utf8() must be a code reference")
|
972
|
-
unless defined($cb) && ref($cb) eq 'CODE';
|
973
|
-
|
974
|
-
local $_ = $self->slurp_utf8;
|
975
|
-
$cb->();
|
976
|
-
$self->spew_utf8($_);
|
977
|
-
|
978
|
-
return;
|
979
|
-
}
|
980
|
-
|
981
|
-
sub edit_raw { $_[2] = { binmode => ":unix" }; goto &edit }
|
982
|
-
|
983
|
-
#pod =method edit_lines, edit_lines_utf8, edit_lines_raw
|
984
|
-
#pod
|
985
|
-
#pod path("foo.txt")->edit_lines( \&callback, $options );
|
986
|
-
#pod path("foo.txt")->edit_lines_utf8( \&callback );
|
987
|
-
#pod path("foo.txt")->edit_lines_raw( \&callback );
|
988
|
-
#pod
|
989
|
-
#pod These are convenience methods that allow "editing" a file's lines using a
|
990
|
-
#pod single callback argument. They iterate over the file: for each line, the
|
991
|
-
#pod line is put into a localized C<$_> variable, the callback function is
|
992
|
-
#pod executed (without arguments) and then C<$_> is written to a temporary file.
|
993
|
-
#pod When iteration is finished, the temporary file is atomically renamed over
|
994
|
-
#pod the original.
|
995
|
-
#pod
|
996
|
-
#pod An optional hash reference may be used to pass options. The only option is
|
997
|
-
#pod C<binmode>, which is passed to the method that open handles for reading and
|
998
|
-
#pod writing.
|
999
|
-
#pod
|
1000
|
-
#pod C<edit_lines_raw> is like C<edit_lines> with a buffered C<binmode> of
|
1001
|
-
#pod C<:raw>.
|
1002
|
-
#pod
|
1003
|
-
#pod C<edit_lines_utf8> is like C<edit_lines> with a buffered C<binmode>
|
1004
|
-
#pod C<:raw:encoding(UTF-8)> (or C<:raw:utf8_strict> with
|
1005
|
-
#pod L<PerlIO::utf8_strict>).
|
1006
|
-
#pod
|
1007
|
-
#pod Current API available since 0.077.
|
1008
|
-
#pod
|
1009
|
-
#pod =cut
|
1010
|
-
|
1011
|
-
sub edit_lines {
|
1012
|
-
my $self = shift;
|
1013
|
-
my $cb = shift;
|
1014
|
-
my $args = _get_args( shift, qw/binmode/ );
|
1015
|
-
Carp::croak("Callback for edit_lines() must be a code reference")
|
1016
|
-
unless defined($cb) && ref($cb) eq 'CODE';
|
1017
|
-
|
1018
|
-
my $binmode = $args->{binmode};
|
1019
|
-
# get default binmode from caller's lexical scope (see "perldoc open")
|
1020
|
-
$binmode = ( ( caller(0) )[10] || {} )->{'open>'} unless defined $binmode;
|
1021
|
-
|
1022
|
-
# writing needs to follow the link and create the tempfile in the same
|
1023
|
-
# dir for later atomic rename
|
1024
|
-
my $resolved_path = $self->_resolve_symlinks;
|
1025
|
-
my $temp = $resolved_path->_replacment_path;
|
1026
|
-
|
1027
|
-
my $temp_fh = $temp->filehandle( { exclusive => 1, locked => 1 }, ">", $binmode );
|
1028
|
-
my $in_fh = $self->filehandle( { locked => 1 }, '<', $binmode );
|
1029
|
-
|
1030
|
-
local $_;
|
1031
|
-
while (! eof($in_fh) ) {
|
1032
|
-
defined( $_ = readline($in_fh) ) or $self->_throw('readline');
|
1033
|
-
$cb->();
|
1034
|
-
$temp_fh->print($_) or self->_throw('print', $temp);
|
1035
|
-
}
|
1036
|
-
|
1037
|
-
close $temp_fh or $self->_throw( 'close', $temp );
|
1038
|
-
close $in_fh or $self->_throw('close');
|
1039
|
-
|
1040
|
-
return $temp->move($resolved_path);
|
1041
|
-
}
|
1042
|
-
|
1043
|
-
sub edit_lines_raw { $_[2] = { binmode => ":raw" }; goto &edit_lines }
|
1044
|
-
|
1045
|
-
sub edit_lines_utf8 {
|
1046
|
-
if ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
1047
|
-
$_[2] = { binmode => ":raw:utf8_strict" };
|
1048
|
-
}
|
1049
|
-
else {
|
1050
|
-
$_[2] = { binmode => ":raw:encoding(UTF-8)" };
|
1051
|
-
}
|
1052
|
-
goto &edit_lines;
|
1053
|
-
}
|
1054
|
-
|
1055
|
-
#pod =method exists, is_file, is_dir
|
1056
|
-
#pod
|
1057
|
-
#pod if ( path("/tmp")->exists ) { ... } # -e
|
1058
|
-
#pod if ( path("/tmp")->is_dir ) { ... } # -d
|
1059
|
-
#pod if ( path("/tmp")->is_file ) { ... } # -e && ! -d
|
1060
|
-
#pod
|
1061
|
-
#pod Implements file test operations, this means the file or directory actually has
|
1062
|
-
#pod to exist on the filesystem. Until then, it's just a path.
|
1063
|
-
#pod
|
1064
|
-
#pod B<Note>: C<is_file> is not C<-f> because C<-f> is not the opposite of C<-d>.
|
1065
|
-
#pod C<-f> means "plain file", excluding symlinks, devices, etc. that often can be
|
1066
|
-
#pod read just like files.
|
1067
|
-
#pod
|
1068
|
-
#pod Use C<-f> instead if you really mean to check for a plain file.
|
1069
|
-
#pod
|
1070
|
-
#pod Current API available since 0.053.
|
1071
|
-
#pod
|
1072
|
-
#pod =cut
|
1073
|
-
|
1074
|
-
sub exists { -e $_[0]->[PATH] }
|
1075
|
-
|
1076
|
-
sub is_file { -e $_[0]->[PATH] && !-d _ }
|
1077
|
-
|
1078
|
-
sub is_dir { -d $_[0]->[PATH] }
|
1079
|
-
|
1080
|
-
#pod =method filehandle
|
1081
|
-
#pod
|
1082
|
-
#pod $fh = path("/tmp/foo.txt")->filehandle($mode, $binmode);
|
1083
|
-
#pod $fh = path("/tmp/foo.txt")->filehandle({ locked => 1 }, $mode, $binmode);
|
1084
|
-
#pod $fh = path("/tmp/foo.txt")->filehandle({ exclusive => 1 }, $mode, $binmode);
|
1085
|
-
#pod
|
1086
|
-
#pod Returns an open file handle. The C<$mode> argument must be a Perl-style
|
1087
|
-
#pod read/write mode string ("<" ,">", ">>", etc.). If a C<$binmode>
|
1088
|
-
#pod is given, it is set during the C<open> call.
|
1089
|
-
#pod
|
1090
|
-
#pod An optional hash reference may be used to pass options.
|
1091
|
-
#pod
|
1092
|
-
#pod The C<locked> option governs file locking; if true, handles opened for writing,
|
1093
|
-
#pod appending or read-write are locked with C<LOCK_EX>; otherwise, they are
|
1094
|
-
#pod locked with C<LOCK_SH>. When using C<locked>, ">" or "+>" modes will delay
|
1095
|
-
#pod truncation until after the lock is acquired.
|
1096
|
-
#pod
|
1097
|
-
#pod The C<exclusive> option causes the open() call to fail if the file already
|
1098
|
-
#pod exists. This corresponds to the O_EXCL flag to sysopen / open(2).
|
1099
|
-
#pod C<exclusive> implies C<locked> and will set it for you if you forget it.
|
1100
|
-
#pod
|
1101
|
-
#pod See C<openr>, C<openw>, C<openrw>, and C<opena> for sugar.
|
1102
|
-
#pod
|
1103
|
-
#pod Current API available since 0.066.
|
1104
|
-
#pod
|
1105
|
-
#pod =cut
|
1106
|
-
|
1107
|
-
# Note: must put binmode on open line, not subsequent binmode() call, so things
|
1108
|
-
# like ":unix" actually stop perlio/crlf from being added
|
1109
|
-
|
1110
|
-
sub filehandle {
|
1111
|
-
my ( $self, @args ) = @_;
|
1112
|
-
my $args = ( @args && ref $args[0] eq 'HASH' ) ? shift @args : {};
|
1113
|
-
$args = _get_args( $args, qw/locked exclusive/ );
|
1114
|
-
$args->{locked} = 1 if $args->{exclusive};
|
1115
|
-
my ( $opentype, $binmode ) = @args;
|
1116
|
-
|
1117
|
-
$opentype = "<" unless defined $opentype;
|
1118
|
-
Carp::croak("Invalid file mode '$opentype'")
|
1119
|
-
unless grep { $opentype eq $_ } qw/< +< > +> >> +>>/;
|
1120
|
-
|
1121
|
-
$binmode = ( ( caller(0) )[10] || {} )->{ 'open' . substr( $opentype, -1, 1 ) }
|
1122
|
-
unless defined $binmode;
|
1123
|
-
$binmode = "" unless defined $binmode;
|
1124
|
-
|
1125
|
-
my ( $fh, $lock, $trunc );
|
1126
|
-
if ( $HAS_FLOCK && $args->{locked} && !$ENV{PERL_PATH_TINY_NO_FLOCK} ) {
|
1127
|
-
require Fcntl;
|
1128
|
-
# truncating file modes shouldn't truncate until lock acquired
|
1129
|
-
if ( grep { $opentype eq $_ } qw( > +> ) ) {
|
1130
|
-
# sysopen in write mode without truncation
|
1131
|
-
my $flags = $opentype eq ">" ? Fcntl::O_WRONLY() : Fcntl::O_RDWR();
|
1132
|
-
$flags |= Fcntl::O_CREAT();
|
1133
|
-
$flags |= Fcntl::O_EXCL() if $args->{exclusive};
|
1134
|
-
sysopen( $fh, $self->[PATH], $flags ) or $self->_throw("sysopen");
|
1135
|
-
|
1136
|
-
# fix up the binmode since sysopen() can't specify layers like
|
1137
|
-
# open() and binmode() can't start with just :unix like open()
|
1138
|
-
if ( $binmode =~ s/^:unix// ) {
|
1139
|
-
# eliminate pseudo-layers
|
1140
|
-
binmode( $fh, ":raw" ) or $self->_throw("binmode (:raw)");
|
1141
|
-
# strip off real layers until only :unix is left
|
1142
|
-
while ( 1 < ( my $layers =()= PerlIO::get_layers( $fh, output => 1 ) ) ) {
|
1143
|
-
binmode( $fh, ":pop" ) or $self->_throw("binmode (:pop)");
|
1144
|
-
}
|
1145
|
-
}
|
1146
|
-
|
1147
|
-
# apply any remaining binmode layers
|
1148
|
-
if ( length $binmode ) {
|
1149
|
-
binmode( $fh, $binmode ) or $self->_throw("binmode ($binmode)");
|
1150
|
-
}
|
1151
|
-
|
1152
|
-
# ask for lock and truncation
|
1153
|
-
$lock = Fcntl::LOCK_EX();
|
1154
|
-
$trunc = 1;
|
1155
|
-
}
|
1156
|
-
elsif ( $^O eq 'aix' && $opentype eq "<" ) {
|
1157
|
-
# AIX can only lock write handles, so upgrade to RW and LOCK_EX if
|
1158
|
-
# the file is writable; otherwise give up on locking. N.B.
|
1159
|
-
# checking -w before open to determine the open mode is an
|
1160
|
-
# unavoidable race condition
|
1161
|
-
if ( -w $self->[PATH] ) {
|
1162
|
-
$opentype = "+<";
|
1163
|
-
$lock = Fcntl::LOCK_EX();
|
1164
|
-
}
|
1165
|
-
}
|
1166
|
-
else {
|
1167
|
-
$lock = $opentype eq "<" ? Fcntl::LOCK_SH() : Fcntl::LOCK_EX();
|
1168
|
-
}
|
1169
|
-
}
|
1170
|
-
|
1171
|
-
unless ($fh) {
|
1172
|
-
my $mode = $opentype . $binmode;
|
1173
|
-
open $fh, $mode, $self->[PATH] or $self->_throw("open ($mode)");
|
1174
|
-
}
|
1175
|
-
|
1176
|
-
do { flock( $fh, $lock ) or $self->_throw("flock ($lock)") } if $lock;
|
1177
|
-
do { truncate( $fh, 0 ) or $self->_throw("truncate") } if $trunc;
|
1178
|
-
|
1179
|
-
return $fh;
|
1180
|
-
}
|
1181
|
-
|
1182
|
-
#pod =method has_same_bytes
|
1183
|
-
#pod
|
1184
|
-
#pod if ( path("foo.txt")->has_same_bytes("bar.txt") ) {
|
1185
|
-
#pod # ...
|
1186
|
-
#pod }
|
1187
|
-
#pod
|
1188
|
-
#pod This method returns true if both the invocant and the argument can be opened as
|
1189
|
-
#pod file handles and the handles contain the same bytes. It returns false if their
|
1190
|
-
#pod contents differ. If either can't be opened as a file (e.g. a directory or
|
1191
|
-
#pod non-existent file), the method throws an exception. If both can be opened and
|
1192
|
-
#pod both have the same C<realpath>, the method returns true without scanning any
|
1193
|
-
#pod data.
|
1194
|
-
#pod
|
1195
|
-
#pod Current API available since 0.125.
|
1196
|
-
#pod
|
1197
|
-
#pod =cut
|
1198
|
-
|
1199
|
-
sub has_same_bytes {
|
1200
|
-
my ($self, $other_path) = @_;
|
1201
|
-
my $other = _path($other_path);
|
1202
|
-
|
1203
|
-
my $fh1 = $self->openr_raw({ locked => 1 });
|
1204
|
-
my $fh2 = $other->openr_raw({ locked => 1 });
|
1205
|
-
|
1206
|
-
# check for directories
|
1207
|
-
if (-d $fh1) {
|
1208
|
-
$self->_throw('has_same_bytes', $self->[PATH], "directory not allowed");
|
1209
|
-
}
|
1210
|
-
if (-d $fh2) {
|
1211
|
-
$self->_throw('has_same_bytes', $other->[PATH], "directory not allowed");
|
1212
|
-
}
|
1213
|
-
|
1214
|
-
# Now that handles are open, we know the inputs are readable files that
|
1215
|
-
# exist, so it's safe to compare via realpath
|
1216
|
-
if ($self->realpath eq $other->realpath) {
|
1217
|
-
return 1
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
# result is 0 for equal, 1 for unequal, -1 for error
|
1221
|
-
require File::Compare;
|
1222
|
-
my $res = File::Compare::compare($fh1, $fh2, 65536);
|
1223
|
-
if ($res < 0) {
|
1224
|
-
$self->_throw('has_same_bytes')
|
1225
|
-
}
|
1226
|
-
|
1227
|
-
return $res == 0;
|
1228
|
-
}
|
1229
|
-
|
1230
|
-
#pod =method is_absolute, is_relative
|
1231
|
-
#pod
|
1232
|
-
#pod if ( path("/tmp")->is_absolute ) { ... }
|
1233
|
-
#pod if ( path("/tmp")->is_relative ) { ... }
|
1234
|
-
#pod
|
1235
|
-
#pod Booleans for whether the path appears absolute or relative.
|
1236
|
-
#pod
|
1237
|
-
#pod Current API available since 0.001.
|
1238
|
-
#pod
|
1239
|
-
#pod =cut
|
1240
|
-
|
1241
|
-
sub is_absolute { substr( $_[0]->dirname, 0, 1 ) eq '/' }
|
1242
|
-
|
1243
|
-
sub is_relative { substr( $_[0]->dirname, 0, 1 ) ne '/' }
|
1244
|
-
|
1245
|
-
#pod =method is_rootdir
|
1246
|
-
#pod
|
1247
|
-
#pod while ( ! $path->is_rootdir ) {
|
1248
|
-
#pod $path = $path->parent;
|
1249
|
-
#pod ...
|
1250
|
-
#pod }
|
1251
|
-
#pod
|
1252
|
-
#pod Boolean for whether the path is the root directory of the volume. I.e. the
|
1253
|
-
#pod C<dirname> is C<q[/]> and the C<basename> is C<q[]>.
|
1254
|
-
#pod
|
1255
|
-
#pod This works even on C<MSWin32> with drives and UNC volumes:
|
1256
|
-
#pod
|
1257
|
-
#pod path("C:/")->is_rootdir; # true
|
1258
|
-
#pod path("//server/share/")->is_rootdir; #true
|
1259
|
-
#pod
|
1260
|
-
#pod Current API available since 0.038.
|
1261
|
-
#pod
|
1262
|
-
#pod =cut
|
1263
|
-
|
1264
|
-
sub is_rootdir {
|
1265
|
-
my ($self) = @_;
|
1266
|
-
$self->_splitpath unless defined $self->[DIR];
|
1267
|
-
return $self->[DIR] eq '/' && $self->[FILE] eq '';
|
1268
|
-
}
|
1269
|
-
|
1270
|
-
#pod =method iterator
|
1271
|
-
#pod
|
1272
|
-
#pod $iter = path("/tmp")->iterator( \%options );
|
1273
|
-
#pod
|
1274
|
-
#pod Returns a code reference that walks a directory lazily. Each invocation
|
1275
|
-
#pod returns a C<Path::Tiny> object or undef when the iterator is exhausted.
|
1276
|
-
#pod
|
1277
|
-
#pod $iter = path("/tmp")->iterator;
|
1278
|
-
#pod while ( $path = $iter->() ) {
|
1279
|
-
#pod ...
|
1280
|
-
#pod }
|
1281
|
-
#pod
|
1282
|
-
#pod The current and parent directory entries ("." and "..") will not
|
1283
|
-
#pod be included.
|
1284
|
-
#pod
|
1285
|
-
#pod If the C<recurse> option is true, the iterator will walk the directory
|
1286
|
-
#pod recursively, breadth-first. If the C<follow_symlinks> option is also true,
|
1287
|
-
#pod directory links will be followed recursively. There is no protection against
|
1288
|
-
#pod loops when following links. If a directory is not readable, it will not be
|
1289
|
-
#pod followed.
|
1290
|
-
#pod
|
1291
|
-
#pod The default is the same as:
|
1292
|
-
#pod
|
1293
|
-
#pod $iter = path("/tmp")->iterator( {
|
1294
|
-
#pod recurse => 0,
|
1295
|
-
#pod follow_symlinks => 0,
|
1296
|
-
#pod } );
|
1297
|
-
#pod
|
1298
|
-
#pod For a more powerful, recursive iterator with built-in loop avoidance, see
|
1299
|
-
#pod L<Path::Iterator::Rule>.
|
1300
|
-
#pod
|
1301
|
-
#pod See also L</visit>.
|
1302
|
-
#pod
|
1303
|
-
#pod Current API available since 0.016.
|
1304
|
-
#pod
|
1305
|
-
#pod =cut
|
1306
|
-
|
1307
|
-
sub iterator {
|
1308
|
-
my $self = shift;
|
1309
|
-
my $args = _get_args( shift, qw/recurse follow_symlinks/ );
|
1310
|
-
my @dirs = $self;
|
1311
|
-
my $current;
|
1312
|
-
return sub {
|
1313
|
-
my $next;
|
1314
|
-
while (@dirs) {
|
1315
|
-
if ( ref $dirs[0] eq 'Path::Tiny' ) {
|
1316
|
-
if ( !-r $dirs[0] ) {
|
1317
|
-
# Directory is missing or not readable, so skip it. There
|
1318
|
-
# is still a race condition possible between the check and
|
1319
|
-
# the opendir, but we can't easily differentiate between
|
1320
|
-
# error cases that are OK to skip and those that we want
|
1321
|
-
# to be exceptions, so we live with the race and let opendir
|
1322
|
-
# be fatal.
|
1323
|
-
shift @dirs and next;
|
1324
|
-
}
|
1325
|
-
$current = $dirs[0];
|
1326
|
-
my $dh;
|
1327
|
-
opendir( $dh, $current->[PATH] )
|
1328
|
-
or $self->_throw( 'opendir', $current->[PATH] );
|
1329
|
-
$dirs[0] = $dh;
|
1330
|
-
if ( -l $current->[PATH] && !$args->{follow_symlinks} ) {
|
1331
|
-
# Symlink attack! It was a real dir, but is now a symlink!
|
1332
|
-
# N.B. we check *after* opendir so the attacker has to win
|
1333
|
-
# two races: replace dir with symlink before opendir and
|
1334
|
-
# replace symlink with dir before -l check above
|
1335
|
-
shift @dirs and next;
|
1336
|
-
}
|
1337
|
-
}
|
1338
|
-
while ( defined( $next = readdir $dirs[0] ) ) {
|
1339
|
-
next if $next eq '.' || $next eq '..';
|
1340
|
-
my $path = $current->child($next);
|
1341
|
-
push @dirs, $path
|
1342
|
-
if $args->{recurse} && -d $path && !( !$args->{follow_symlinks} && -l $path );
|
1343
|
-
return $path;
|
1344
|
-
}
|
1345
|
-
shift @dirs;
|
1346
|
-
}
|
1347
|
-
return;
|
1348
|
-
};
|
1349
|
-
}
|
1350
|
-
|
1351
|
-
#pod =method lines, lines_raw, lines_utf8
|
1352
|
-
#pod
|
1353
|
-
#pod @contents = path("/tmp/foo.txt")->lines;
|
1354
|
-
#pod @contents = path("/tmp/foo.txt")->lines(\%options);
|
1355
|
-
#pod @contents = path("/tmp/foo.txt")->lines_raw;
|
1356
|
-
#pod @contents = path("/tmp/foo.txt")->lines_utf8;
|
1357
|
-
#pod
|
1358
|
-
#pod @contents = path("/tmp/foo.txt")->lines( { chomp => 1, count => 4 } );
|
1359
|
-
#pod
|
1360
|
-
#pod Returns a list of lines from a file. Optionally takes a hash-reference of
|
1361
|
-
#pod options. Valid options are C<binmode>, C<count> and C<chomp>.
|
1362
|
-
#pod
|
1363
|
-
#pod If C<binmode> is provided, it will be set on the handle prior to reading.
|
1364
|
-
#pod
|
1365
|
-
#pod If a positive C<count> is provided, that many lines will be returned from the
|
1366
|
-
#pod start of the file. If a negative C<count> is provided, the entire file will be
|
1367
|
-
#pod read, but only C<abs(count)> will be kept and returned. If C<abs(count)>
|
1368
|
-
#pod exceeds the number of lines in the file, all lines will be returned.
|
1369
|
-
#pod
|
1370
|
-
#pod If C<chomp> is set, any end-of-line character sequences (C<CR>, C<CRLF>, or
|
1371
|
-
#pod C<LF>) will be removed from the lines returned.
|
1372
|
-
#pod
|
1373
|
-
#pod Because the return is a list, C<lines> in scalar context will return the number
|
1374
|
-
#pod of lines (and throw away the data).
|
1375
|
-
#pod
|
1376
|
-
#pod $number_of_lines = path("/tmp/foo.txt")->lines;
|
1377
|
-
#pod
|
1378
|
-
#pod C<lines_raw> is like C<lines> with a C<binmode> of C<:raw>. We use C<:raw>
|
1379
|
-
#pod instead of C<:unix> so PerlIO buffering can manage reading by line.
|
1380
|
-
#pod
|
1381
|
-
#pod C<lines_utf8> is like C<lines> with a C<binmode> of C<:raw:encoding(UTF-8)>
|
1382
|
-
#pod (or C<:raw:utf8_strict> with L<PerlIO::utf8_strict>). If L<Unicode::UTF8>
|
1383
|
-
#pod 0.58+ is installed, a raw, unbuffered UTF-8 slurp will be done and then the
|
1384
|
-
#pod lines will be split. This is actually faster than relying on
|
1385
|
-
#pod IO layers, though a bit memory intensive. If memory use is a
|
1386
|
-
#pod concern, consider C<openr_utf8> and iterating directly on the handle.
|
1387
|
-
#pod
|
1388
|
-
#pod Current API available since 0.065.
|
1389
|
-
#pod
|
1390
|
-
#pod =cut
|
1391
|
-
|
1392
|
-
sub lines {
|
1393
|
-
my $self = shift;
|
1394
|
-
my $args = _get_args( shift, qw/binmode chomp count/ );
|
1395
|
-
my $binmode = $args->{binmode};
|
1396
|
-
$binmode = ( ( caller(0) )[10] || {} )->{'open<'} unless defined $binmode;
|
1397
|
-
my $fh = $self->filehandle( { locked => 1 }, "<", $binmode );
|
1398
|
-
my $chomp = $args->{chomp};
|
1399
|
-
# XXX more efficient to read @lines then chomp(@lines) vs map?
|
1400
|
-
if ( $args->{count} ) {
|
1401
|
-
my ( $counter, $mod, @result ) = ( 0, abs( $args->{count} ) );
|
1402
|
-
my $line;
|
1403
|
-
while ( !eof($fh) ) {
|
1404
|
-
defined( $line = readline($fh) ) or $self->_throw('readline');
|
1405
|
-
|
1406
|
-
$line =~ s/(?:\x{0d}?\x{0a}|\x{0d})\z// if $chomp;
|
1407
|
-
$result[ $counter++ ] = $line;
|
1408
|
-
# for positive count, terminate after right number of lines
|
1409
|
-
last if $counter == $args->{count};
|
1410
|
-
# for negative count, eventually wrap around in the result array
|
1411
|
-
$counter %= $mod;
|
1412
|
-
}
|
1413
|
-
# reorder results if full and wrapped somewhere in the middle
|
1414
|
-
splice( @result, 0, 0, splice( @result, $counter ) )
|
1415
|
-
if @result == $mod && $counter % $mod;
|
1416
|
-
return @result;
|
1417
|
-
}
|
1418
|
-
elsif ($chomp) {
|
1419
|
-
local $!;
|
1420
|
-
my @lines = map { s/(?:\x{0d}?\x{0a}|\x{0d})\z//; $_ } <$fh>; ## no critic
|
1421
|
-
$self->_throw('readline') if $!;
|
1422
|
-
return @lines;
|
1423
|
-
}
|
1424
|
-
else {
|
1425
|
-
if ( wantarray ) {
|
1426
|
-
local $!;
|
1427
|
-
my @lines = <$fh>;
|
1428
|
-
$self->_throw('readline') if $!;
|
1429
|
-
return @lines;
|
1430
|
-
} else {
|
1431
|
-
local $!;
|
1432
|
-
my $count =()= <$fh>;
|
1433
|
-
$self->_throw('readline') if $!;
|
1434
|
-
return $count;
|
1435
|
-
}
|
1436
|
-
}
|
1437
|
-
}
|
1438
|
-
|
1439
|
-
sub lines_raw {
|
1440
|
-
my $self = shift;
|
1441
|
-
my $args = _get_args( shift, qw/binmode chomp count/ );
|
1442
|
-
if ( $args->{chomp} && !$args->{count} ) {
|
1443
|
-
return split /\n/, slurp_raw($self); ## no critic
|
1444
|
-
}
|
1445
|
-
else {
|
1446
|
-
$args->{binmode} = ":raw";
|
1447
|
-
return lines( $self, $args );
|
1448
|
-
}
|
1449
|
-
}
|
1450
|
-
|
1451
|
-
my $CRLF = qr/(?:\x{0d}?\x{0a}|\x{0d})/;
|
1452
|
-
|
1453
|
-
sub lines_utf8 {
|
1454
|
-
my $self = shift;
|
1455
|
-
my $args = _get_args( shift, qw/binmode chomp count/ );
|
1456
|
-
if ( ( defined($HAS_UU) ? $HAS_UU : ( $HAS_UU = _check_UU() ) )
|
1457
|
-
&& $args->{chomp}
|
1458
|
-
&& !$args->{count} )
|
1459
|
-
{
|
1460
|
-
my $slurp = slurp_utf8($self);
|
1461
|
-
$slurp =~ s/$CRLF\z//; # like chomp, but full CR?LF|CR
|
1462
|
-
return split $CRLF, $slurp, -1; ## no critic
|
1463
|
-
}
|
1464
|
-
elsif ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
1465
|
-
$args->{binmode} = ":raw:utf8_strict";
|
1466
|
-
return lines( $self, $args );
|
1467
|
-
}
|
1468
|
-
else {
|
1469
|
-
$args->{binmode} = ":raw:encoding(UTF-8)";
|
1470
|
-
return lines( $self, $args );
|
1471
|
-
}
|
1472
|
-
}
|
1473
|
-
|
1474
|
-
#pod =method mkdir
|
1475
|
-
#pod
|
1476
|
-
#pod path("foo/bar/baz")->mkdir;
|
1477
|
-
#pod path("foo/bar/baz")->mkdir( \%options );
|
1478
|
-
#pod
|
1479
|
-
#pod Like calling C<make_path> from L<File::Path>. An optional hash reference
|
1480
|
-
#pod is passed through to C<make_path>. Errors will be trapped and an exception
|
1481
|
-
#pod thrown. Returns the the path object to facilitate chaining.
|
1482
|
-
#pod
|
1483
|
-
#pod B<NOTE>: unlike Perl's builtin C<mkdir>, this will create intermediate paths
|
1484
|
-
#pod similar to the Unix C<mkdir -p> command. It will not error if applied to an
|
1485
|
-
#pod existing directory.
|
1486
|
-
#pod
|
1487
|
-
#pod Current API available since 0.125.
|
1488
|
-
#pod
|
1489
|
-
#pod =cut
|
1490
|
-
|
1491
|
-
sub mkdir {
|
1492
|
-
my ( $self, $args ) = @_;
|
1493
|
-
$args = {} unless ref $args eq 'HASH';
|
1494
|
-
my $err;
|
1495
|
-
$args->{error} = \$err unless defined $args->{error};
|
1496
|
-
require File::Path;
|
1497
|
-
my @dirs;
|
1498
|
-
my $ok = eval {
|
1499
|
-
File::Path::make_path( $self->[PATH], $args );
|
1500
|
-
1;
|
1501
|
-
};
|
1502
|
-
if (!$ok) {
|
1503
|
-
$self->_throw('mkdir', $self->[PATH], "error creating path: $@");
|
1504
|
-
}
|
1505
|
-
if ( $err && @$err ) {
|
1506
|
-
my ( $file, $message ) = %{ $err->[0] };
|
1507
|
-
$self->_throw('mkdir', $file, $message);
|
1508
|
-
}
|
1509
|
-
return $self;
|
1510
|
-
}
|
1511
|
-
|
1512
|
-
#pod =method mkpath (deprecated)
|
1513
|
-
#pod
|
1514
|
-
#pod Like calling C<mkdir>, but returns the list of directories created or an empty list if
|
1515
|
-
#pod the directories already exist, just like C<make_path>.
|
1516
|
-
#pod
|
1517
|
-
#pod Deprecated in 0.125.
|
1518
|
-
#pod
|
1519
|
-
#pod =cut
|
1520
|
-
|
1521
|
-
sub mkpath {
|
1522
|
-
my ( $self, $args ) = @_;
|
1523
|
-
$args = {} unless ref $args eq 'HASH';
|
1524
|
-
my $err;
|
1525
|
-
$args->{error} = \$err unless defined $args->{error};
|
1526
|
-
require File::Path;
|
1527
|
-
my @dirs = File::Path::make_path( $self->[PATH], $args );
|
1528
|
-
if ( $err && @$err ) {
|
1529
|
-
my ( $file, $message ) = %{ $err->[0] };
|
1530
|
-
Carp::croak("mkpath failed for $file: $message");
|
1531
|
-
}
|
1532
|
-
return @dirs;
|
1533
|
-
}
|
1534
|
-
|
1535
|
-
#pod =method move
|
1536
|
-
#pod
|
1537
|
-
#pod path("foo.txt")->move("bar.txt");
|
1538
|
-
#pod
|
1539
|
-
#pod Moves the current path to the given destination using L<File::Copy>'s
|
1540
|
-
#pod C<move> function. Upon success, returns the C<Path::Tiny> object for the
|
1541
|
-
#pod newly moved file.
|
1542
|
-
#pod
|
1543
|
-
#pod If the destination already exists and is a directory, and the source is not a
|
1544
|
-
#pod directory, then the source file will be renamed into the directory
|
1545
|
-
#pod specified by the destination.
|
1546
|
-
#pod
|
1547
|
-
#pod If possible, move() will simply rename the file. Otherwise, it
|
1548
|
-
#pod copies the file to the new location and deletes the original. If an
|
1549
|
-
#pod error occurs during this copy-and-delete process, you may be left
|
1550
|
-
#pod with a (possibly partial) copy of the file under the destination
|
1551
|
-
#pod name.
|
1552
|
-
#pod
|
1553
|
-
#pod Current API available since 0.124. Prior versions used Perl's
|
1554
|
-
#pod -built-in (and less robust) L<rename|perlfunc/rename> function
|
1555
|
-
#pod and did not return an object.
|
1556
|
-
#pod
|
1557
|
-
#pod =cut
|
1558
|
-
|
1559
|
-
sub move {
|
1560
|
-
my ( $self, $dest ) = @_;
|
1561
|
-
require File::Copy;
|
1562
|
-
File::Copy::move( $self->[PATH], $dest )
|
1563
|
-
or $self->_throw( 'move', $self->[PATH] . "' -> '$dest" );
|
1564
|
-
|
1565
|
-
return -d $dest ? _path( $dest, $self->basename ) : _path($dest);
|
1566
|
-
}
|
1567
|
-
|
1568
|
-
#pod =method openr, openw, openrw, opena
|
1569
|
-
#pod
|
1570
|
-
#pod $fh = path("foo.txt")->openr($binmode); # read
|
1571
|
-
#pod $fh = path("foo.txt")->openr_raw;
|
1572
|
-
#pod $fh = path("foo.txt")->openr_utf8;
|
1573
|
-
#pod
|
1574
|
-
#pod $fh = path("foo.txt")->openw($binmode); # write
|
1575
|
-
#pod $fh = path("foo.txt")->openw_raw;
|
1576
|
-
#pod $fh = path("foo.txt")->openw_utf8;
|
1577
|
-
#pod
|
1578
|
-
#pod $fh = path("foo.txt")->opena($binmode); # append
|
1579
|
-
#pod $fh = path("foo.txt")->opena_raw;
|
1580
|
-
#pod $fh = path("foo.txt")->opena_utf8;
|
1581
|
-
#pod
|
1582
|
-
#pod $fh = path("foo.txt")->openrw($binmode); # read/write
|
1583
|
-
#pod $fh = path("foo.txt")->openrw_raw;
|
1584
|
-
#pod $fh = path("foo.txt")->openrw_utf8;
|
1585
|
-
#pod
|
1586
|
-
#pod Returns a file handle opened in the specified mode. The C<openr> style methods
|
1587
|
-
#pod take a single C<binmode> argument. All of the C<open*> methods have
|
1588
|
-
#pod C<open*_raw> and C<open*_utf8> equivalents that use buffered I/O layers C<:raw>
|
1589
|
-
#pod and C<:raw:encoding(UTF-8)> (or C<:raw:utf8_strict> with
|
1590
|
-
#pod L<PerlIO::utf8_strict>).
|
1591
|
-
#pod
|
1592
|
-
#pod An optional hash reference may be used to pass options. The only option is
|
1593
|
-
#pod C<locked>. If true, handles opened for writing, appending or read-write are
|
1594
|
-
#pod locked with C<LOCK_EX>; otherwise, they are locked for C<LOCK_SH>.
|
1595
|
-
#pod
|
1596
|
-
#pod $fh = path("foo.txt")->openrw_utf8( { locked => 1 } );
|
1597
|
-
#pod
|
1598
|
-
#pod See L</filehandle> for more on locking.
|
1599
|
-
#pod
|
1600
|
-
#pod Current API available since 0.011.
|
1601
|
-
#pod
|
1602
|
-
#pod =cut
|
1603
|
-
|
1604
|
-
# map method names to corresponding open mode
|
1605
|
-
my %opens = (
|
1606
|
-
opena => ">>",
|
1607
|
-
openr => "<",
|
1608
|
-
openw => ">",
|
1609
|
-
openrw => "+<"
|
1610
|
-
);
|
1611
|
-
|
1612
|
-
while ( my ( $k, $v ) = each %opens ) {
|
1613
|
-
no strict 'refs';
|
1614
|
-
# must check for lexical IO mode hint
|
1615
|
-
*{$k} = sub {
|
1616
|
-
my ( $self, @args ) = @_;
|
1617
|
-
my $args = ( @args && ref $args[0] eq 'HASH' ) ? shift @args : {};
|
1618
|
-
$args = _get_args( $args, qw/locked/ );
|
1619
|
-
my ($binmode) = @args;
|
1620
|
-
$binmode = ( ( caller(0) )[10] || {} )->{ 'open' . substr( $v, -1, 1 ) }
|
1621
|
-
unless defined $binmode;
|
1622
|
-
$self->filehandle( $args, $v, $binmode );
|
1623
|
-
};
|
1624
|
-
*{ $k . "_raw" } = sub {
|
1625
|
-
my ( $self, @args ) = @_;
|
1626
|
-
my $args = ( @args && ref $args[0] eq 'HASH' ) ? shift @args : {};
|
1627
|
-
$args = _get_args( $args, qw/locked/ );
|
1628
|
-
$self->filehandle( $args, $v, ":raw" );
|
1629
|
-
};
|
1630
|
-
*{ $k . "_utf8" } = sub {
|
1631
|
-
my ( $self, @args ) = @_;
|
1632
|
-
my $args = ( @args && ref $args[0] eq 'HASH' ) ? shift @args : {};
|
1633
|
-
$args = _get_args( $args, qw/locked/ );
|
1634
|
-
my $layer;
|
1635
|
-
if ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
1636
|
-
$layer = ":raw:utf8_strict";
|
1637
|
-
}
|
1638
|
-
else {
|
1639
|
-
$layer = ":raw:encoding(UTF-8)";
|
1640
|
-
}
|
1641
|
-
$self->filehandle( $args, $v, $layer );
|
1642
|
-
};
|
1643
|
-
}
|
1644
|
-
|
1645
|
-
#pod =method parent
|
1646
|
-
#pod
|
1647
|
-
#pod $parent = path("foo/bar/baz")->parent; # foo/bar
|
1648
|
-
#pod $parent = path("foo/wibble.txt")->parent; # foo
|
1649
|
-
#pod
|
1650
|
-
#pod $parent = path("foo/bar/baz")->parent(2); # foo
|
1651
|
-
#pod
|
1652
|
-
#pod Returns a C<Path::Tiny> object corresponding to the parent directory of the
|
1653
|
-
#pod original directory or file. An optional positive integer argument is the number
|
1654
|
-
#pod of parent directories upwards to return. C<parent> by itself is equivalent to
|
1655
|
-
#pod C<parent(1)>.
|
1656
|
-
#pod
|
1657
|
-
#pod Current API available since 0.014.
|
1658
|
-
#pod
|
1659
|
-
#pod =cut
|
1660
|
-
|
1661
|
-
# XXX this is ugly and coverage is incomplete. I think it's there for windows
|
1662
|
-
# so need to check coverage there and compare
|
1663
|
-
sub parent {
|
1664
|
-
my ( $self, $level ) = @_;
|
1665
|
-
$level = 1 unless defined $level && $level > 0;
|
1666
|
-
$self->_splitpath unless defined $self->[FILE];
|
1667
|
-
my $parent;
|
1668
|
-
if ( length $self->[FILE] ) {
|
1669
|
-
if ( $self->[FILE] eq '.' || $self->[FILE] eq ".." ) {
|
1670
|
-
$parent = _path( $self->[PATH] . "/.." );
|
1671
|
-
}
|
1672
|
-
else {
|
1673
|
-
$parent = _path( _non_empty( $self->[VOL] . $self->[DIR] ) );
|
1674
|
-
}
|
1675
|
-
}
|
1676
|
-
elsif ( length $self->[DIR] ) {
|
1677
|
-
# because of symlinks, any internal updir requires us to
|
1678
|
-
# just add more updirs at the end
|
1679
|
-
if ( $self->[DIR] =~ m{(?:^\.\./|/\.\./|/\.\.\z)} ) {
|
1680
|
-
$parent = _path( $self->[VOL] . $self->[DIR] . "/.." );
|
1681
|
-
}
|
1682
|
-
else {
|
1683
|
-
( my $dir = $self->[DIR] ) =~ s{/[^\/]+/\z}{/};
|
1684
|
-
$parent = _path( $self->[VOL] . $dir );
|
1685
|
-
}
|
1686
|
-
}
|
1687
|
-
else {
|
1688
|
-
$parent = _path( _non_empty( $self->[VOL] ) );
|
1689
|
-
}
|
1690
|
-
return $level == 1 ? $parent : $parent->parent( $level - 1 );
|
1691
|
-
}
|
1692
|
-
|
1693
|
-
sub _non_empty {
|
1694
|
-
my ($string) = shift;
|
1695
|
-
return ( ( defined($string) && length($string) ) ? $string : "." );
|
1696
|
-
}
|
1697
|
-
|
1698
|
-
#pod =method realpath
|
1699
|
-
#pod
|
1700
|
-
#pod $real = path("/baz/foo/../bar")->realpath;
|
1701
|
-
#pod $real = path("foo/../bar")->realpath;
|
1702
|
-
#pod
|
1703
|
-
#pod Returns a new C<Path::Tiny> object with all symbolic links and upward directory
|
1704
|
-
#pod parts resolved using L<Cwd>'s C<realpath>. Compared to C<absolute>, this is
|
1705
|
-
#pod more expensive as it must actually consult the filesystem.
|
1706
|
-
#pod
|
1707
|
-
#pod If the parent path can't be resolved (e.g. if it includes directories that
|
1708
|
-
#pod don't exist), an exception will be thrown:
|
1709
|
-
#pod
|
1710
|
-
#pod $real = path("doesnt_exist/foo")->realpath; # dies
|
1711
|
-
#pod
|
1712
|
-
#pod However, if the parent path exists and only the last component (e.g. filename)
|
1713
|
-
#pod doesn't exist, the realpath will be the realpath of the parent plus the
|
1714
|
-
#pod non-existent last component:
|
1715
|
-
#pod
|
1716
|
-
#pod $real = path("./aasdlfasdlf")->realpath; # works
|
1717
|
-
#pod
|
1718
|
-
#pod The underlying L<Cwd> module usually worked this way on Unix, but died on
|
1719
|
-
#pod Windows (and some Unixes) if the full path didn't exist. As of version 0.064,
|
1720
|
-
#pod it's safe to use anywhere.
|
1721
|
-
#pod
|
1722
|
-
#pod Current API available since 0.001.
|
1723
|
-
#pod
|
1724
|
-
#pod =cut
|
1725
|
-
|
1726
|
-
# Win32 and some Unixes need parent path resolved separately so realpath
|
1727
|
-
# doesn't throw an error resolving non-existent basename
|
1728
|
-
sub realpath {
|
1729
|
-
my $self = shift;
|
1730
|
-
$self = $self->_resolve_symlinks;
|
1731
|
-
require Cwd;
|
1732
|
-
$self->_splitpath if !defined $self->[FILE];
|
1733
|
-
my $check_parent =
|
1734
|
-
length $self->[FILE] && $self->[FILE] ne '.' && $self->[FILE] ne '..';
|
1735
|
-
my $realpath = eval {
|
1736
|
-
# pure-perl Cwd can carp
|
1737
|
-
local $SIG{__WARN__} = sub { };
|
1738
|
-
Cwd::realpath( $check_parent ? $self->parent->[PATH] : $self->[PATH] );
|
1739
|
-
};
|
1740
|
-
# parent realpath must exist; not all Cwd::realpath will error if it doesn't
|
1741
|
-
$self->_throw("resolving realpath")
|
1742
|
-
unless defined $realpath && length $realpath && -e $realpath;
|
1743
|
-
return ( $check_parent ? _path( $realpath, $self->[FILE] ) : _path($realpath) );
|
1744
|
-
}
|
1745
|
-
|
1746
|
-
#pod =method relative
|
1747
|
-
#pod
|
1748
|
-
#pod $rel = path("/tmp/foo/bar")->relative("/tmp"); # foo/bar
|
1749
|
-
#pod
|
1750
|
-
#pod Returns a C<Path::Tiny> object with a path relative to a new base path
|
1751
|
-
#pod given as an argument. If no argument is given, the current directory will
|
1752
|
-
#pod be used as the new base path.
|
1753
|
-
#pod
|
1754
|
-
#pod If either path is already relative, it will be made absolute based on the
|
1755
|
-
#pod current directly before determining the new relative path.
|
1756
|
-
#pod
|
1757
|
-
#pod The algorithm is roughly as follows:
|
1758
|
-
#pod
|
1759
|
-
#pod =for :list
|
1760
|
-
#pod * If the original and new base path are on different volumes, an exception
|
1761
|
-
#pod will be thrown.
|
1762
|
-
#pod * If the original and new base are identical, the relative path is C<".">.
|
1763
|
-
#pod * If the new base subsumes the original, the relative path is the original
|
1764
|
-
#pod path with the new base chopped off the front
|
1765
|
-
#pod * If the new base does not subsume the original, a common prefix path is
|
1766
|
-
#pod determined (possibly the root directory) and the relative path will
|
1767
|
-
#pod consist of updirs (C<"..">) to reach the common prefix, followed by the
|
1768
|
-
#pod original path less the common prefix.
|
1769
|
-
#pod
|
1770
|
-
#pod Unlike C<File::Spec::abs2rel>, in the last case above, the calculation based
|
1771
|
-
#pod on a common prefix takes into account symlinks that could affect the updir
|
1772
|
-
#pod process. Given an original path "/A/B" and a new base "/A/C",
|
1773
|
-
#pod (where "A", "B" and "C" could each have multiple path components):
|
1774
|
-
#pod
|
1775
|
-
#pod =for :list
|
1776
|
-
#pod * Symlinks in "A" don't change the result unless the last component of A is
|
1777
|
-
#pod a symlink and the first component of "C" is an updir.
|
1778
|
-
#pod * Symlinks in "B" don't change the result and will exist in the result as
|
1779
|
-
#pod given.
|
1780
|
-
#pod * Symlinks and updirs in "C" must be resolved to actual paths, taking into
|
1781
|
-
#pod account the possibility that not all path components might exist on the
|
1782
|
-
#pod filesystem.
|
1783
|
-
#pod
|
1784
|
-
#pod Current API available since 0.001. New algorithm (that accounts for
|
1785
|
-
#pod symlinks) available since 0.079.
|
1786
|
-
#pod
|
1787
|
-
#pod =cut
|
1788
|
-
|
1789
|
-
sub relative {
|
1790
|
-
my ( $self, $base ) = @_;
|
1791
|
-
$base = _path( defined $base && length $base ? $base : '.' );
|
1792
|
-
|
1793
|
-
# relative paths must be converted to absolute first
|
1794
|
-
$self = $self->absolute if $self->is_relative;
|
1795
|
-
$base = $base->absolute if $base->is_relative;
|
1796
|
-
|
1797
|
-
# normalize volumes if they exist
|
1798
|
-
$self = $self->absolute if !length $self->volume && length $base->volume;
|
1799
|
-
$base = $base->absolute if length $self->volume && !length $base->volume;
|
1800
|
-
|
1801
|
-
# can't make paths relative across volumes
|
1802
|
-
if ( !_same( $self->volume, $base->volume ) ) {
|
1803
|
-
Carp::croak("relative() can't cross volumes: '$self' vs '$base'");
|
1804
|
-
}
|
1805
|
-
|
1806
|
-
# if same absolute path, relative is current directory
|
1807
|
-
return _path(".") if _same( $self->[PATH], $base->[PATH] );
|
1808
|
-
|
1809
|
-
# if base is a prefix of self, chop prefix off self
|
1810
|
-
if ( $base->subsumes($self) ) {
|
1811
|
-
$base = "" if $base->is_rootdir;
|
1812
|
-
my $relative = "$self";
|
1813
|
-
$relative =~ s{\A\Q$base/}{};
|
1814
|
-
return _path(".", $relative);
|
1815
|
-
}
|
1816
|
-
|
1817
|
-
# base is not a prefix, so must find a common prefix (even if root)
|
1818
|
-
my ( @common, @self_parts, @base_parts );
|
1819
|
-
@base_parts = split /\//, $base->_just_filepath;
|
1820
|
-
|
1821
|
-
# if self is rootdir, then common directory is root (shown as empty
|
1822
|
-
# string for later joins); otherwise, must be computed from path parts.
|
1823
|
-
if ( $self->is_rootdir ) {
|
1824
|
-
@common = ("");
|
1825
|
-
shift @base_parts;
|
1826
|
-
}
|
1827
|
-
else {
|
1828
|
-
@self_parts = split /\//, $self->_just_filepath;
|
1829
|
-
|
1830
|
-
while ( @self_parts && @base_parts && _same( $self_parts[0], $base_parts[0] ) ) {
|
1831
|
-
push @common, shift @base_parts;
|
1832
|
-
shift @self_parts;
|
1833
|
-
}
|
1834
|
-
}
|
1835
|
-
|
1836
|
-
# if there are any symlinks from common to base, we have a problem, as
|
1837
|
-
# you can't guarantee that updir from base reaches the common prefix;
|
1838
|
-
# we must resolve symlinks and try again; likewise, any updirs are
|
1839
|
-
# a problem as it throws off calculation of updirs needed to get from
|
1840
|
-
# self's path to the common prefix.
|
1841
|
-
if ( my $new_base = $self->_resolve_between( \@common, \@base_parts ) ) {
|
1842
|
-
return $self->relative($new_base);
|
1843
|
-
}
|
1844
|
-
|
1845
|
-
# otherwise, symlinks in common or from common to A don't matter as
|
1846
|
-
# those don't involve updirs
|
1847
|
-
my @new_path = ( ("..") x ( 0+ @base_parts ), @self_parts );
|
1848
|
-
return _path(@new_path);
|
1849
|
-
}
|
1850
|
-
|
1851
|
-
sub _just_filepath {
|
1852
|
-
my $self = shift;
|
1853
|
-
my $self_vol = $self->volume;
|
1854
|
-
return "$self" if !length $self_vol;
|
1855
|
-
|
1856
|
-
( my $self_path = "$self" ) =~ s{\A\Q$self_vol}{};
|
1857
|
-
|
1858
|
-
return $self_path;
|
1859
|
-
}
|
1860
|
-
|
1861
|
-
sub _resolve_between {
|
1862
|
-
my ( $self, $common, $base ) = @_;
|
1863
|
-
my $path = $self->volume . join( "/", @$common );
|
1864
|
-
my $changed = 0;
|
1865
|
-
for my $p (@$base) {
|
1866
|
-
$path .= "/$p";
|
1867
|
-
if ( $p eq '..' ) {
|
1868
|
-
$changed = 1;
|
1869
|
-
if ( -e $path ) {
|
1870
|
-
$path = _path($path)->realpath->[PATH];
|
1871
|
-
}
|
1872
|
-
else {
|
1873
|
-
$path =~ s{/[^/]+/..\z}{/};
|
1874
|
-
}
|
1875
|
-
}
|
1876
|
-
if ( -l $path ) {
|
1877
|
-
$changed = 1;
|
1878
|
-
$path = _path($path)->realpath->[PATH];
|
1879
|
-
}
|
1880
|
-
}
|
1881
|
-
return $changed ? _path($path) : undef;
|
1882
|
-
}
|
1883
|
-
|
1884
|
-
#pod =method remove
|
1885
|
-
#pod
|
1886
|
-
#pod path("foo.txt")->remove;
|
1887
|
-
#pod
|
1888
|
-
#pod This is just like C<unlink>, except for its error handling: if the path does
|
1889
|
-
#pod not exist, it returns false; if deleting the file fails, it throws an
|
1890
|
-
#pod exception.
|
1891
|
-
#pod
|
1892
|
-
#pod Current API available since 0.012.
|
1893
|
-
#pod
|
1894
|
-
#pod =cut
|
1895
|
-
|
1896
|
-
sub remove {
|
1897
|
-
my $self = shift;
|
1898
|
-
|
1899
|
-
return 0 if !-e $self->[PATH] && !-l $self->[PATH];
|
1900
|
-
|
1901
|
-
return unlink( $self->[PATH] ) || $self->_throw('unlink');
|
1902
|
-
}
|
1903
|
-
|
1904
|
-
#pod =method remove_tree
|
1905
|
-
#pod
|
1906
|
-
#pod # directory
|
1907
|
-
#pod path("foo/bar/baz")->remove_tree;
|
1908
|
-
#pod path("foo/bar/baz")->remove_tree( \%options );
|
1909
|
-
#pod path("foo/bar/baz")->remove_tree( { safe => 0 } ); # force remove
|
1910
|
-
#pod
|
1911
|
-
#pod Like calling C<remove_tree> from L<File::Path>, but defaults to C<safe> mode.
|
1912
|
-
#pod An optional hash reference is passed through to C<remove_tree>. Errors will be
|
1913
|
-
#pod trapped and an exception thrown. Returns the number of directories deleted,
|
1914
|
-
#pod just like C<remove_tree>.
|
1915
|
-
#pod
|
1916
|
-
#pod If you want to remove a directory only if it is empty, use the built-in
|
1917
|
-
#pod C<rmdir> function instead.
|
1918
|
-
#pod
|
1919
|
-
#pod rmdir path("foo/bar/baz/");
|
1920
|
-
#pod
|
1921
|
-
#pod Current API available since 0.013.
|
1922
|
-
#pod
|
1923
|
-
#pod =cut
|
1924
|
-
|
1925
|
-
sub remove_tree {
|
1926
|
-
my ( $self, $args ) = @_;
|
1927
|
-
return 0 if !-e $self->[PATH] && !-l $self->[PATH];
|
1928
|
-
$args = {} unless ref $args eq 'HASH';
|
1929
|
-
my $err;
|
1930
|
-
$args->{error} = \$err unless defined $args->{error};
|
1931
|
-
$args->{safe} = 1 unless defined $args->{safe};
|
1932
|
-
require File::Path;
|
1933
|
-
my $count = File::Path::remove_tree( $self->[PATH], $args );
|
1934
|
-
|
1935
|
-
if ( $err && @$err ) {
|
1936
|
-
my ( $file, $message ) = %{ $err->[0] };
|
1937
|
-
Carp::croak("remove_tree failed for $file: $message");
|
1938
|
-
}
|
1939
|
-
return $count;
|
1940
|
-
}
|
1941
|
-
|
1942
|
-
#pod =method sibling
|
1943
|
-
#pod
|
1944
|
-
#pod $foo = path("/tmp/foo.txt");
|
1945
|
-
#pod $sib = $foo->sibling("bar.txt"); # /tmp/bar.txt
|
1946
|
-
#pod $sib = $foo->sibling("baz", "bam.txt"); # /tmp/baz/bam.txt
|
1947
|
-
#pod
|
1948
|
-
#pod Returns a new C<Path::Tiny> object relative to the parent of the original.
|
1949
|
-
#pod This is slightly more efficient than C<< $path->parent->child(...) >>.
|
1950
|
-
#pod
|
1951
|
-
#pod Current API available since 0.058.
|
1952
|
-
#pod
|
1953
|
-
#pod =cut
|
1954
|
-
|
1955
|
-
sub sibling {
|
1956
|
-
my $self = shift;
|
1957
|
-
return _path( $self->parent->[PATH], @_ );
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
#pod =method size, size_human
|
1961
|
-
#pod
|
1962
|
-
#pod my $p = path("foo"); # with size 1025 bytes
|
1963
|
-
#pod
|
1964
|
-
#pod $p->size; # "1025"
|
1965
|
-
#pod $p->size_human; # "1.1 K"
|
1966
|
-
#pod $p->size_human( {format => "iec"} ); # "1.1 KiB"
|
1967
|
-
#pod
|
1968
|
-
#pod Returns the size of a file. The C<size> method is just a wrapper around C<-s>.
|
1969
|
-
#pod
|
1970
|
-
#pod The C<size_human> method provides a human-readable string similar to
|
1971
|
-
#pod C<ls -lh>. Like C<ls>, it rounds upwards and provides one decimal place for
|
1972
|
-
#pod single-digit sizes and no decimal places for larger sizes. The only available
|
1973
|
-
#pod option is C<format>, which has three valid values:
|
1974
|
-
#pod
|
1975
|
-
#pod =for :list
|
1976
|
-
#pod * 'ls' (the default): base-2 sizes, with C<ls> style single-letter suffixes (K, M, etc.)
|
1977
|
-
#pod * 'iec': base-2 sizes, with IEC binary suffixes (KiB, MiB, etc.)
|
1978
|
-
#pod * 'si': base-10 sizes, with SI decimal suffixes (kB, MB, etc.)
|
1979
|
-
#pod
|
1980
|
-
#pod If C<-s> would return C<undef>, C<size_human> returns the empty string.
|
1981
|
-
#pod
|
1982
|
-
#pod Current API available since 0.122.
|
1983
|
-
#pod
|
1984
|
-
#pod =cut
|
1985
|
-
|
1986
|
-
sub size { -s $_[0]->[PATH] }
|
1987
|
-
|
1988
|
-
my %formats = (
|
1989
|
-
'ls' => [ 1024, log(1024), [ "", map { " $_" } qw/K M G T/ ] ],
|
1990
|
-
'iec' => [ 1024, log(1024), [ "", map { " $_" } qw/KiB MiB GiB TiB/ ] ],
|
1991
|
-
'si' => [ 1000, log(1000), [ "", map { " $_" } qw/kB MB GB TB/ ] ],
|
1992
|
-
);
|
1993
|
-
|
1994
|
-
sub _formats { return $formats{$_[0]} }
|
1995
|
-
|
1996
|
-
sub size_human {
|
1997
|
-
my $self = shift;
|
1998
|
-
my $args = _get_args( shift, qw/format/ );
|
1999
|
-
my $format = defined $args->{format} ? $args->{format} : "ls";
|
2000
|
-
my $fmt_opts = $formats{$format}
|
2001
|
-
or Carp::croak("Invalid format '$format' for size_human()");
|
2002
|
-
my $size = -s $self->[PATH];
|
2003
|
-
return defined $size ? _human_size( $size, @$fmt_opts ) : "";
|
2004
|
-
}
|
2005
|
-
|
2006
|
-
sub _ceil {
|
2007
|
-
return $_[0] == int($_[0]) ? $_[0] : int($_[0]+1);
|
2008
|
-
}
|
2009
|
-
|
2010
|
-
sub _human_size {
|
2011
|
-
my ( $size, $base, $log_base, $suffixes ) = @_;
|
2012
|
-
return "0" if $size == 0;
|
2013
|
-
|
2014
|
-
my $mag = int( log($size) / $log_base );
|
2015
|
-
$size /= $base**$mag;
|
2016
|
-
$size =
|
2017
|
-
$mag == 0 ? $size
|
2018
|
-
: length( int($size) ) == 1 ? _ceil( $size * 10 ) / 10
|
2019
|
-
: _ceil($size);
|
2020
|
-
if ( $size >= $base ) {
|
2021
|
-
$size /= $base;
|
2022
|
-
$mag++;
|
2023
|
-
}
|
2024
|
-
|
2025
|
-
my $fmt = ( $mag == 0 || length( int($size) ) > 1 ) ? "%.0f%s" : "%.1f%s";
|
2026
|
-
return sprintf( $fmt, $size, $suffixes->[$mag] );
|
2027
|
-
}
|
2028
|
-
|
2029
|
-
#pod =method slurp, slurp_raw, slurp_utf8
|
2030
|
-
#pod
|
2031
|
-
#pod $data = path("foo.txt")->slurp;
|
2032
|
-
#pod $data = path("foo.txt")->slurp( {binmode => ":raw"} );
|
2033
|
-
#pod $data = path("foo.txt")->slurp_raw;
|
2034
|
-
#pod $data = path("foo.txt")->slurp_utf8;
|
2035
|
-
#pod
|
2036
|
-
#pod Reads file contents into a scalar. Takes an optional hash reference which may
|
2037
|
-
#pod be used to pass options. The only available option is C<binmode>, which is
|
2038
|
-
#pod passed to C<binmode()> on the handle used for reading.
|
2039
|
-
#pod
|
2040
|
-
#pod C<slurp_raw> is like C<slurp> with a C<binmode> of C<:unix> for
|
2041
|
-
#pod a fast, unbuffered, raw read.
|
2042
|
-
#pod
|
2043
|
-
#pod C<slurp_utf8> is like C<slurp> with a C<binmode> of
|
2044
|
-
#pod C<:unix:encoding(UTF-8)> (or C<:unix:utf8_strict> with
|
2045
|
-
#pod L<PerlIO::utf8_strict>). If L<Unicode::UTF8> 0.58+ is installed, a
|
2046
|
-
#pod unbuffered, raw slurp will be done instead and the result decoded with
|
2047
|
-
#pod C<Unicode::UTF8>. This is just as strict and is roughly an order of
|
2048
|
-
#pod magnitude faster than using C<:encoding(UTF-8)>.
|
2049
|
-
#pod
|
2050
|
-
#pod B<Note>: C<slurp> and friends lock the filehandle before slurping. If
|
2051
|
-
#pod you plan to slurp from a file created with L<File::Temp>, be sure to
|
2052
|
-
#pod close other handles or open without locking to avoid a deadlock:
|
2053
|
-
#pod
|
2054
|
-
#pod my $tempfile = File::Temp->new(EXLOCK => 0);
|
2055
|
-
#pod my $guts = path($tempfile)->slurp;
|
2056
|
-
#pod
|
2057
|
-
#pod Current API available since 0.004.
|
2058
|
-
#pod
|
2059
|
-
#pod =cut
|
2060
|
-
|
2061
|
-
sub slurp {
|
2062
|
-
my $self = shift;
|
2063
|
-
my $args = _get_args( shift, qw/binmode/ );
|
2064
|
-
my $binmode = $args->{binmode};
|
2065
|
-
$binmode = ( ( caller(0) )[10] || {} )->{'open<'} unless defined $binmode;
|
2066
|
-
my $fh = $self->filehandle( { locked => 1 }, "<", $binmode );
|
2067
|
-
if ( ( defined($binmode) ? $binmode : "" ) eq ":unix"
|
2068
|
-
and my $size = -s $fh )
|
2069
|
-
{
|
2070
|
-
my $buf;
|
2071
|
-
my $rc = read $fh, $buf, $size; # File::Slurp in a nutshell
|
2072
|
-
$self->_throw('read') unless defined $rc;
|
2073
|
-
return $buf;
|
2074
|
-
}
|
2075
|
-
else {
|
2076
|
-
local $/;
|
2077
|
-
my $buf = scalar <$fh>;
|
2078
|
-
$self->_throw('read') unless defined $buf;
|
2079
|
-
return $buf;
|
2080
|
-
}
|
2081
|
-
}
|
2082
|
-
|
2083
|
-
sub slurp_raw { $_[1] = { binmode => ":unix" }; goto &slurp }
|
2084
|
-
|
2085
|
-
sub slurp_utf8 {
|
2086
|
-
if ( defined($HAS_UU) ? $HAS_UU : ( $HAS_UU = _check_UU() ) ) {
|
2087
|
-
return Unicode::UTF8::decode_utf8( slurp( $_[0], { binmode => ":unix" } ) );
|
2088
|
-
}
|
2089
|
-
elsif ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
2090
|
-
$_[1] = { binmode => ":unix:utf8_strict" };
|
2091
|
-
goto &slurp;
|
2092
|
-
}
|
2093
|
-
else {
|
2094
|
-
$_[1] = { binmode => ":unix:encoding(UTF-8)" };
|
2095
|
-
goto &slurp;
|
2096
|
-
}
|
2097
|
-
}
|
2098
|
-
|
2099
|
-
#pod =method spew, spew_raw, spew_utf8
|
2100
|
-
#pod
|
2101
|
-
#pod path("foo.txt")->spew(@data);
|
2102
|
-
#pod path("foo.txt")->spew(\@data);
|
2103
|
-
#pod path("foo.txt")->spew({binmode => ":raw"}, @data);
|
2104
|
-
#pod path("foo.txt")->spew_raw(@data);
|
2105
|
-
#pod path("foo.txt")->spew_utf8(@data);
|
2106
|
-
#pod
|
2107
|
-
#pod Writes data to a file atomically. The file is written to a temporary file in
|
2108
|
-
#pod the same directory, then renamed over the original. An optional hash reference
|
2109
|
-
#pod may be used to pass options. The only option is C<binmode>, which is passed to
|
2110
|
-
#pod C<binmode()> on the handle used for writing.
|
2111
|
-
#pod
|
2112
|
-
#pod C<spew_raw> is like C<spew> with a C<binmode> of C<:unix> for a fast,
|
2113
|
-
#pod unbuffered, raw write.
|
2114
|
-
#pod
|
2115
|
-
#pod C<spew_utf8> is like C<spew> with a C<binmode> of C<:unix:encoding(UTF-8)>
|
2116
|
-
#pod (or C<:unix:utf8_strict> with L<PerlIO::utf8_strict>). If L<Unicode::UTF8>
|
2117
|
-
#pod 0.58+ is installed, a raw, unbuffered spew will be done instead on the data
|
2118
|
-
#pod encoded with C<Unicode::UTF8>.
|
2119
|
-
#pod
|
2120
|
-
#pod B<NOTE>: because the file is written to a temporary file and then renamed, the
|
2121
|
-
#pod new file will wind up with permissions based on your current umask. This is a
|
2122
|
-
#pod feature to protect you from a race condition that would otherwise give
|
2123
|
-
#pod different permissions than you might expect. If you really want to keep the
|
2124
|
-
#pod original mode flags, use L</append> with the C<truncate> option.
|
2125
|
-
#pod
|
2126
|
-
#pod Current API available since 0.011.
|
2127
|
-
#pod
|
2128
|
-
#pod =cut
|
2129
|
-
|
2130
|
-
sub spew {
|
2131
|
-
my ( $self, @data ) = @_;
|
2132
|
-
my $args = ( @data && ref $data[0] eq 'HASH' ) ? shift @data : {};
|
2133
|
-
$args = _get_args( $args, qw/binmode/ );
|
2134
|
-
my $binmode = $args->{binmode};
|
2135
|
-
# get default binmode from caller's lexical scope (see "perldoc open")
|
2136
|
-
$binmode = ( ( caller(0) )[10] || {} )->{'open>'} unless defined $binmode;
|
2137
|
-
|
2138
|
-
# writing needs to follow the link and create the tempfile in the same
|
2139
|
-
# dir for later atomic rename
|
2140
|
-
my $resolved_path = $self->_resolve_symlinks;
|
2141
|
-
my $temp = $resolved_path->_replacment_path;
|
2142
|
-
|
2143
|
-
my $fh;
|
2144
|
-
my $ok = eval { $fh = $temp->filehandle( { exclusive => 1, locked => 1 }, ">", $binmode ); 1 };
|
2145
|
-
if (!$ok) {
|
2146
|
-
my $msg = ref($@) eq 'Path::Tiny::Error'
|
2147
|
-
? "error opening temp file '$@->{file}' for atomic write: $@->{err}"
|
2148
|
-
: "error opening temp file for atomic write: $@";
|
2149
|
-
$self->_throw('spew', $self->[PATH], $msg);
|
2150
|
-
}
|
2151
|
-
print( {$fh} map { ref eq 'ARRAY' ? @$_ : $_ } @data) or self->_throw('print', $temp->[PATH]);
|
2152
|
-
close $fh or $self->_throw( 'close', $temp->[PATH] );
|
2153
|
-
|
2154
|
-
return $temp->move($resolved_path);
|
2155
|
-
}
|
2156
|
-
|
2157
|
-
sub spew_raw { splice @_, 1, 0, { binmode => ":unix" }; goto &spew }
|
2158
|
-
|
2159
|
-
sub spew_utf8 {
|
2160
|
-
if ( defined($HAS_UU) ? $HAS_UU : ( $HAS_UU = _check_UU() ) ) {
|
2161
|
-
my $self = shift;
|
2162
|
-
spew(
|
2163
|
-
$self,
|
2164
|
-
{ binmode => ":unix" },
|
2165
|
-
map { Unicode::UTF8::encode_utf8($_) } map { ref eq 'ARRAY' ? @$_ : $_ } @_
|
2166
|
-
);
|
2167
|
-
}
|
2168
|
-
elsif ( defined($HAS_PU) ? $HAS_PU : ( $HAS_PU = _check_PU() ) ) {
|
2169
|
-
splice @_, 1, 0, { binmode => ":unix:utf8_strict" };
|
2170
|
-
goto &spew;
|
2171
|
-
}
|
2172
|
-
else {
|
2173
|
-
splice @_, 1, 0, { binmode => ":unix:encoding(UTF-8)" };
|
2174
|
-
goto &spew;
|
2175
|
-
}
|
2176
|
-
}
|
2177
|
-
|
2178
|
-
#pod =method stat, lstat
|
2179
|
-
#pod
|
2180
|
-
#pod $stat = path("foo.txt")->stat;
|
2181
|
-
#pod $stat = path("/some/symlink")->lstat;
|
2182
|
-
#pod
|
2183
|
-
#pod Like calling C<stat> or C<lstat> from L<File::stat>.
|
2184
|
-
#pod
|
2185
|
-
#pod Current API available since 0.001.
|
2186
|
-
#pod
|
2187
|
-
#pod =cut
|
2188
|
-
|
2189
|
-
# XXX break out individual stat() components as subs?
|
2190
|
-
sub stat {
|
2191
|
-
my $self = shift;
|
2192
|
-
require File::stat;
|
2193
|
-
return File::stat::stat( $self->[PATH] ) || $self->_throw('stat');
|
2194
|
-
}
|
2195
|
-
|
2196
|
-
sub lstat {
|
2197
|
-
my $self = shift;
|
2198
|
-
require File::stat;
|
2199
|
-
return File::stat::lstat( $self->[PATH] ) || $self->_throw('lstat');
|
2200
|
-
}
|
2201
|
-
|
2202
|
-
#pod =method stringify
|
2203
|
-
#pod
|
2204
|
-
#pod $path = path("foo.txt");
|
2205
|
-
#pod say $path->stringify; # same as "$path"
|
2206
|
-
#pod
|
2207
|
-
#pod Returns a string representation of the path. Unlike C<canonpath>, this method
|
2208
|
-
#pod returns the path standardized with Unix-style C</> directory separators.
|
2209
|
-
#pod
|
2210
|
-
#pod Current API available since 0.001.
|
2211
|
-
#pod
|
2212
|
-
#pod =cut
|
2213
|
-
|
2214
|
-
sub stringify { $_[0]->[PATH] =~ /^~/ ? './' . $_[0]->[PATH] : $_[0]->[PATH] }
|
2215
|
-
|
2216
|
-
#pod =method subsumes
|
2217
|
-
#pod
|
2218
|
-
#pod path("foo/bar")->subsumes("foo/bar/baz"); # true
|
2219
|
-
#pod path("/foo/bar")->subsumes("/foo/baz"); # false
|
2220
|
-
#pod
|
2221
|
-
#pod Returns true if the first path is a prefix of the second path at a directory
|
2222
|
-
#pod boundary.
|
2223
|
-
#pod
|
2224
|
-
#pod This B<does not> resolve parent directory entries (C<..>) or symlinks:
|
2225
|
-
#pod
|
2226
|
-
#pod path("foo/bar")->subsumes("foo/bar/../baz"); # true
|
2227
|
-
#pod
|
2228
|
-
#pod If such things are important to you, ensure that both paths are resolved to
|
2229
|
-
#pod the filesystem with C<realpath>:
|
2230
|
-
#pod
|
2231
|
-
#pod my $p1 = path("foo/bar")->realpath;
|
2232
|
-
#pod my $p2 = path("foo/bar/../baz")->realpath;
|
2233
|
-
#pod if ( $p1->subsumes($p2) ) { ... }
|
2234
|
-
#pod
|
2235
|
-
#pod Current API available since 0.048.
|
2236
|
-
#pod
|
2237
|
-
#pod =cut
|
2238
|
-
|
2239
|
-
sub subsumes {
|
2240
|
-
my $self = shift;
|
2241
|
-
Carp::croak("subsumes() requires a defined, positive-length argument")
|
2242
|
-
unless defined $_[0];
|
2243
|
-
my $other = _path(shift);
|
2244
|
-
|
2245
|
-
# normalize absolute vs relative
|
2246
|
-
if ( $self->is_absolute && !$other->is_absolute ) {
|
2247
|
-
$other = $other->absolute;
|
2248
|
-
}
|
2249
|
-
elsif ( $other->is_absolute && !$self->is_absolute ) {
|
2250
|
-
$self = $self->absolute;
|
2251
|
-
}
|
2252
|
-
|
2253
|
-
# normalize volume vs non-volume; do this after absolute path
|
2254
|
-
# adjustments above since that might add volumes already
|
2255
|
-
if ( length $self->volume && !length $other->volume ) {
|
2256
|
-
$other = $other->absolute;
|
2257
|
-
}
|
2258
|
-
elsif ( length $other->volume && !length $self->volume ) {
|
2259
|
-
$self = $self->absolute;
|
2260
|
-
}
|
2261
|
-
|
2262
|
-
if ( $self->[PATH] eq '.' ) {
|
2263
|
-
return !!1; # cwd subsumes everything relative
|
2264
|
-
}
|
2265
|
-
elsif ( $self->is_rootdir ) {
|
2266
|
-
# a root directory ("/", "c:/") already ends with a separator
|
2267
|
-
return $other->[PATH] =~ m{^\Q$self->[PATH]\E};
|
2268
|
-
}
|
2269
|
-
else {
|
2270
|
-
# exact match or prefix breaking at a separator
|
2271
|
-
return $other->[PATH] =~ m{^\Q$self->[PATH]\E(?:/|\z)};
|
2272
|
-
}
|
2273
|
-
}
|
2274
|
-
|
2275
|
-
#pod =method touch
|
2276
|
-
#pod
|
2277
|
-
#pod path("foo.txt")->touch;
|
2278
|
-
#pod path("foo.txt")->touch($epoch_secs);
|
2279
|
-
#pod
|
2280
|
-
#pod Like the Unix C<touch> utility. Creates the file if it doesn't exist, or else
|
2281
|
-
#pod changes the modification and access times to the current time. If the first
|
2282
|
-
#pod argument is the epoch seconds then it will be used.
|
2283
|
-
#pod
|
2284
|
-
#pod Returns the path object so it can be easily chained with other methods:
|
2285
|
-
#pod
|
2286
|
-
#pod # won't die if foo.txt doesn't exist
|
2287
|
-
#pod $content = path("foo.txt")->touch->slurp;
|
2288
|
-
#pod
|
2289
|
-
#pod Current API available since 0.015.
|
2290
|
-
#pod
|
2291
|
-
#pod =cut
|
2292
|
-
|
2293
|
-
sub touch {
|
2294
|
-
my ( $self, $epoch ) = @_;
|
2295
|
-
if ( !-e $self->[PATH] ) {
|
2296
|
-
my $fh = $self->openw;
|
2297
|
-
close $fh or $self->_throw('close');
|
2298
|
-
}
|
2299
|
-
if ( defined $epoch ) {
|
2300
|
-
utime $epoch, $epoch, $self->[PATH]
|
2301
|
-
or $self->_throw("utime ($epoch)");
|
2302
|
-
}
|
2303
|
-
else {
|
2304
|
-
# literal undef prevents warnings :-(
|
2305
|
-
utime undef, undef, $self->[PATH]
|
2306
|
-
or $self->_throw("utime ()");
|
2307
|
-
}
|
2308
|
-
return $self;
|
2309
|
-
}
|
2310
|
-
|
2311
|
-
#pod =method touchpath
|
2312
|
-
#pod
|
2313
|
-
#pod path("bar/baz/foo.txt")->touchpath;
|
2314
|
-
#pod
|
2315
|
-
#pod Combines C<mkdir> and C<touch>. Creates the parent directory if it doesn't exist,
|
2316
|
-
#pod before touching the file. Returns the path object like C<touch> does.
|
2317
|
-
#pod
|
2318
|
-
#pod If you need to pass options, use C<mkdir> and C<touch> separately:
|
2319
|
-
#pod
|
2320
|
-
#pod path("bar/baz")->mkdir( \%options )->child("foo.txt")->touch($epoch_secs);
|
2321
|
-
#pod
|
2322
|
-
#pod Current API available since 0.022.
|
2323
|
-
#pod
|
2324
|
-
#pod =cut
|
2325
|
-
|
2326
|
-
sub touchpath {
|
2327
|
-
my ($self) = @_;
|
2328
|
-
my $parent = $self->parent;
|
2329
|
-
$parent->mkdir unless $parent->exists;
|
2330
|
-
$self->touch;
|
2331
|
-
}
|
2332
|
-
|
2333
|
-
#pod =method visit
|
2334
|
-
#pod
|
2335
|
-
#pod path("/tmp")->visit( \&callback, \%options );
|
2336
|
-
#pod
|
2337
|
-
#pod Executes a callback for each child of a directory. It returns a hash
|
2338
|
-
#pod reference with any state accumulated during iteration.
|
2339
|
-
#pod
|
2340
|
-
#pod The options are the same as for L</iterator> (which it uses internally):
|
2341
|
-
#pod C<recurse> and C<follow_symlinks>. Both default to false.
|
2342
|
-
#pod
|
2343
|
-
#pod The callback function will receive a C<Path::Tiny> object as the first argument
|
2344
|
-
#pod and a hash reference to accumulate state as the second argument. For example:
|
2345
|
-
#pod
|
2346
|
-
#pod # collect files sizes
|
2347
|
-
#pod my $sizes = path("/tmp")->visit(
|
2348
|
-
#pod sub {
|
2349
|
-
#pod my ($path, $state) = @_;
|
2350
|
-
#pod return if $path->is_dir;
|
2351
|
-
#pod $state->{$path} = -s $path;
|
2352
|
-
#pod },
|
2353
|
-
#pod { recurse => 1 }
|
2354
|
-
#pod );
|
2355
|
-
#pod
|
2356
|
-
#pod For convenience, the C<Path::Tiny> object will also be locally aliased as the
|
2357
|
-
#pod C<$_> global variable:
|
2358
|
-
#pod
|
2359
|
-
#pod # print paths matching /foo/
|
2360
|
-
#pod path("/tmp")->visit( sub { say if /foo/ }, { recurse => 1} );
|
2361
|
-
#pod
|
2362
|
-
#pod If the callback returns a B<reference> to a false scalar value, iteration will
|
2363
|
-
#pod terminate. This is not the same as "pruning" a directory search; this just
|
2364
|
-
#pod stops all iteration and returns the state hash reference.
|
2365
|
-
#pod
|
2366
|
-
#pod # find up to 10 files larger than 100K
|
2367
|
-
#pod my $files = path("/tmp")->visit(
|
2368
|
-
#pod sub {
|
2369
|
-
#pod my ($path, $state) = @_;
|
2370
|
-
#pod $state->{$path}++ if -s $path > 102400
|
2371
|
-
#pod return \0 if keys %$state == 10;
|
2372
|
-
#pod },
|
2373
|
-
#pod { recurse => 1 }
|
2374
|
-
#pod );
|
2375
|
-
#pod
|
2376
|
-
#pod If you want more flexible iteration, use a module like L<Path::Iterator::Rule>.
|
2377
|
-
#pod
|
2378
|
-
#pod Current API available since 0.062.
|
2379
|
-
#pod
|
2380
|
-
#pod =cut
|
2381
|
-
|
2382
|
-
sub visit {
|
2383
|
-
my $self = shift;
|
2384
|
-
my $cb = shift;
|
2385
|
-
my $args = _get_args( shift, qw/recurse follow_symlinks/ );
|
2386
|
-
Carp::croak("Callback for visit() must be a code reference")
|
2387
|
-
unless defined($cb) && ref($cb) eq 'CODE';
|
2388
|
-
my $next = $self->iterator($args);
|
2389
|
-
my $state = {};
|
2390
|
-
while ( my $file = $next->() ) {
|
2391
|
-
local $_ = $file;
|
2392
|
-
my $r = $cb->( $file, $state );
|
2393
|
-
last if ref($r) eq 'SCALAR' && !$$r;
|
2394
|
-
}
|
2395
|
-
return $state;
|
2396
|
-
}
|
2397
|
-
|
2398
|
-
#pod =method volume
|
2399
|
-
#pod
|
2400
|
-
#pod $vol = path("/tmp/foo.txt")->volume; # ""
|
2401
|
-
#pod $vol = path("C:/tmp/foo.txt")->volume; # "C:"
|
2402
|
-
#pod
|
2403
|
-
#pod Returns the volume portion of the path. This is equivalent
|
2404
|
-
#pod to what L<File::Spec> would give from C<splitpath> and thus
|
2405
|
-
#pod usually is the empty string on Unix-like operating systems or the
|
2406
|
-
#pod drive letter for an absolute path on C<MSWin32>.
|
2407
|
-
#pod
|
2408
|
-
#pod Current API available since 0.001.
|
2409
|
-
#pod
|
2410
|
-
#pod =cut
|
2411
|
-
|
2412
|
-
sub volume {
|
2413
|
-
my ($self) = @_;
|
2414
|
-
$self->_splitpath unless defined $self->[VOL];
|
2415
|
-
return $self->[VOL];
|
2416
|
-
}
|
2417
|
-
|
2418
|
-
package Path::Tiny::Error;
|
2419
|
-
|
2420
|
-
our @CARP_NOT = qw/Path::Tiny/;
|
2421
|
-
|
2422
|
-
use overload ( q{""} => sub { (shift)->{msg} }, fallback => 1 );
|
2423
|
-
|
2424
|
-
sub throw {
|
2425
|
-
my ( $class, $op, $file, $err ) = @_;
|
2426
|
-
chomp( my $trace = Carp::shortmess );
|
2427
|
-
my $msg = "Error $op on '$file': $err$trace\n";
|
2428
|
-
die bless { op => $op, file => $file, err => $err, msg => $msg }, $class;
|
2429
|
-
}
|
2430
|
-
|
2431
|
-
1;
|
2432
|
-
|
2433
|
-
|
2434
|
-
# vim: ts=4 sts=4 sw=4 et:
|
2435
|
-
|
2436
|
-
__END__
|
2437
|
-
|
2438
|
-
=pod
|
2439
|
-
|
2440
|
-
=encoding UTF-8
|
2441
|
-
|
2442
|
-
=head1 NAME
|
2443
|
-
|
2444
|
-
Path::Tiny - File path utility
|
2445
|
-
|
2446
|
-
=head1 VERSION
|
2447
|
-
|
2448
|
-
version 0.146
|
2449
|
-
|
2450
|
-
=head1 SYNOPSIS
|
2451
|
-
|
2452
|
-
use Path::Tiny;
|
2453
|
-
|
2454
|
-
# Creating Path::Tiny objects
|
2455
|
-
|
2456
|
-
my $dir = path("/tmp");
|
2457
|
-
my $foo = path("foo.txt");
|
2458
|
-
|
2459
|
-
my $subdir = $dir->child("foo");
|
2460
|
-
my $bar = $subdir->child("bar.txt");
|
2461
|
-
|
2462
|
-
# Stringifies as cleaned up path
|
2463
|
-
|
2464
|
-
my $file = path("./foo.txt");
|
2465
|
-
print $file; # "foo.txt"
|
2466
|
-
|
2467
|
-
# Reading files
|
2468
|
-
|
2469
|
-
my $guts = $file->slurp;
|
2470
|
-
$guts = $file->slurp_utf8;
|
2471
|
-
|
2472
|
-
my @lines = $file->lines;
|
2473
|
-
@lines = $file->lines_utf8;
|
2474
|
-
|
2475
|
-
my ($head) = $file->lines( {count => 1} );
|
2476
|
-
my ($tail) = $file->lines( {count => -1} );
|
2477
|
-
|
2478
|
-
# Writing files
|
2479
|
-
|
2480
|
-
$bar->spew( @data );
|
2481
|
-
$bar->spew_utf8( @data );
|
2482
|
-
|
2483
|
-
# Reading directories
|
2484
|
-
|
2485
|
-
for ( $dir->children ) { ... }
|
2486
|
-
|
2487
|
-
my $iter = $dir->iterator;
|
2488
|
-
while ( my $next = $iter->() ) { ... }
|
2489
|
-
|
2490
|
-
=head1 DESCRIPTION
|
2491
|
-
|
2492
|
-
This module provides a small, fast utility for working with file paths. It is
|
2493
|
-
friendlier to use than L<File::Spec> and provides easy access to functions from
|
2494
|
-
several other core file handling modules. It aims to be smaller and faster
|
2495
|
-
than many alternatives on CPAN, while helping people do many common things in
|
2496
|
-
consistent and less error-prone ways.
|
2497
|
-
|
2498
|
-
Path::Tiny does not try to work for anything except Unix-like and Win32
|
2499
|
-
platforms. Even then, it might break if you try something particularly obscure
|
2500
|
-
or tortuous. (Quick! What does this mean:
|
2501
|
-
C<< ///../../..//./././a//b/.././c/././ >>? And how does it differ on Win32?)
|
2502
|
-
|
2503
|
-
All paths are forced to have Unix-style forward slashes. Stringifying
|
2504
|
-
the object gives you back the path (after some clean up).
|
2505
|
-
|
2506
|
-
File input/output methods C<flock> handles before reading or writing,
|
2507
|
-
as appropriate (if supported by the platform and/or filesystem).
|
2508
|
-
|
2509
|
-
The C<*_utf8> methods (C<slurp_utf8>, C<lines_utf8>, etc.) operate in raw
|
2510
|
-
mode. On Windows, that means they will not have CRLF translation from the
|
2511
|
-
C<:crlf> IO layer. Installing L<Unicode::UTF8> 0.58 or later will speed up
|
2512
|
-
C<*_utf8> situations in many cases and is highly recommended.
|
2513
|
-
Alternatively, installing L<PerlIO::utf8_strict> 0.003 or later will be
|
2514
|
-
used in place of the default C<:encoding(UTF-8)>.
|
2515
|
-
|
2516
|
-
This module depends heavily on PerlIO layers for correct operation and thus
|
2517
|
-
requires Perl 5.008001 or later.
|
2518
|
-
|
2519
|
-
=head1 CONSTRUCTORS
|
2520
|
-
|
2521
|
-
=head2 path
|
2522
|
-
|
2523
|
-
$path = path("foo/bar");
|
2524
|
-
$path = path("/tmp", "file.txt"); # list
|
2525
|
-
$path = path("."); # cwd
|
2526
|
-
|
2527
|
-
Constructs a C<Path::Tiny> object. It doesn't matter if you give a file or
|
2528
|
-
directory path. It's still up to you to call directory-like methods only on
|
2529
|
-
directories and file-like methods only on files. This function is exported
|
2530
|
-
automatically by default.
|
2531
|
-
|
2532
|
-
The first argument must be defined and have non-zero length or an exception
|
2533
|
-
will be thrown. This prevents subtle, dangerous errors with code like
|
2534
|
-
C<< path( maybe_undef() )->remove_tree >>.
|
2535
|
-
|
2536
|
-
B<DEPRECATED>: If and only if the B<first> character of the B<first> argument
|
2537
|
-
to C<path> is a tilde ('~'), then tilde replacement will be applied to the
|
2538
|
-
first path segment. A single tilde will be replaced with C<glob('~')> and a
|
2539
|
-
tilde followed by a username will be replaced with output of
|
2540
|
-
C<glob('~username')>. B<No other method does tilde expansion on its arguments>.
|
2541
|
-
See L</Tilde expansion (deprecated)> for more.
|
2542
|
-
|
2543
|
-
On Windows, if the path consists of a drive identifier without a path component
|
2544
|
-
(C<C:> or C<D:>), it will be expanded to the absolute path of the current
|
2545
|
-
directory on that volume using C<Cwd::getdcwd()>.
|
2546
|
-
|
2547
|
-
If called with a single C<Path::Tiny> argument, the original is returned unless
|
2548
|
-
the original is holding a temporary file or directory reference in which case a
|
2549
|
-
stringified copy is made.
|
2550
|
-
|
2551
|
-
$path = path("foo/bar");
|
2552
|
-
$temp = Path::Tiny->tempfile;
|
2553
|
-
|
2554
|
-
$p2 = path($path); # like $p2 = $path
|
2555
|
-
$t2 = path($temp); # like $t2 = path( "$temp" )
|
2556
|
-
|
2557
|
-
This optimizes copies without proliferating references unexpectedly if a copy is
|
2558
|
-
made by code outside your control.
|
2559
|
-
|
2560
|
-
Current API available since 0.017.
|
2561
|
-
|
2562
|
-
=head2 new
|
2563
|
-
|
2564
|
-
$path = Path::Tiny->new("foo/bar");
|
2565
|
-
|
2566
|
-
This is just like C<path>, but with method call overhead. (Why would you
|
2567
|
-
do that?)
|
2568
|
-
|
2569
|
-
Current API available since 0.001.
|
2570
|
-
|
2571
|
-
=head2 cwd
|
2572
|
-
|
2573
|
-
$path = Path::Tiny->cwd; # path( Cwd::getcwd )
|
2574
|
-
$path = cwd; # optional export
|
2575
|
-
|
2576
|
-
Gives you the absolute path to the current directory as a C<Path::Tiny> object.
|
2577
|
-
This is slightly faster than C<< path(".")->absolute >>.
|
2578
|
-
|
2579
|
-
C<cwd> may be exported on request and used as a function instead of as a
|
2580
|
-
method.
|
2581
|
-
|
2582
|
-
Current API available since 0.018.
|
2583
|
-
|
2584
|
-
=head2 rootdir
|
2585
|
-
|
2586
|
-
$path = Path::Tiny->rootdir; # /
|
2587
|
-
$path = rootdir; # optional export
|
2588
|
-
|
2589
|
-
Gives you C<< File::Spec->rootdir >> as a C<Path::Tiny> object if you're too
|
2590
|
-
picky for C<path("/")>.
|
2591
|
-
|
2592
|
-
C<rootdir> may be exported on request and used as a function instead of as a
|
2593
|
-
method.
|
2594
|
-
|
2595
|
-
Current API available since 0.018.
|
2596
|
-
|
2597
|
-
=head2 tempfile, tempdir
|
2598
|
-
|
2599
|
-
$temp = Path::Tiny->tempfile( @options );
|
2600
|
-
$temp = Path::Tiny->tempdir( @options );
|
2601
|
-
$temp = $dirpath->tempfile( @options );
|
2602
|
-
$temp = $dirpath->tempdir( @options );
|
2603
|
-
$temp = tempfile( @options ); # optional export
|
2604
|
-
$temp = tempdir( @options ); # optional export
|
2605
|
-
|
2606
|
-
C<tempfile> passes the options to C<< File::Temp->new >> and returns a
|
2607
|
-
C<Path::Tiny> object with the file name. The C<TMPDIR> option will be enabled
|
2608
|
-
by default, but you can override that by passing C<< TMPDIR => 0 >> along with
|
2609
|
-
the options. (If you use an absolute C<TEMPLATE> option, you will want to
|
2610
|
-
disable C<TMPDIR>.)
|
2611
|
-
|
2612
|
-
The resulting C<File::Temp> object is cached. When the C<Path::Tiny> object is
|
2613
|
-
destroyed, the C<File::Temp> object will be as well.
|
2614
|
-
|
2615
|
-
C<File::Temp> annoyingly requires you to specify a custom template in slightly
|
2616
|
-
different ways depending on which function or method you call, but
|
2617
|
-
C<Path::Tiny> lets you ignore that and can take either a leading template or a
|
2618
|
-
C<TEMPLATE> option and does the right thing.
|
2619
|
-
|
2620
|
-
$temp = Path::Tiny->tempfile( "customXXXXXXXX" ); # ok
|
2621
|
-
$temp = Path::Tiny->tempfile( TEMPLATE => "customXXXXXXXX" ); # ok
|
2622
|
-
|
2623
|
-
The tempfile path object will be normalized to have an absolute path, even if
|
2624
|
-
created in a relative directory using C<DIR>. If you want it to have
|
2625
|
-
the C<realpath> instead, pass a leading options hash like this:
|
2626
|
-
|
2627
|
-
$real_temp = tempfile({realpath => 1}, @options);
|
2628
|
-
|
2629
|
-
C<tempdir> is just like C<tempfile>, except it calls
|
2630
|
-
C<< File::Temp->newdir >> instead.
|
2631
|
-
|
2632
|
-
Both C<tempfile> and C<tempdir> may be exported on request and used as
|
2633
|
-
functions instead of as methods.
|
2634
|
-
|
2635
|
-
The methods can be called on an instances representing a
|
2636
|
-
directory. In this case, the directory is used as the base to create the
|
2637
|
-
temporary file/directory, setting the C<DIR> option in File::Temp.
|
2638
|
-
|
2639
|
-
my $target_dir = path('/to/destination');
|
2640
|
-
my $tempfile = $target_dir->tempfile('foobarXXXXXX');
|
2641
|
-
$tempfile->spew('A lot of data...'); # not atomic
|
2642
|
-
$tempfile->move($target_dir->child('foobar')); # hopefully atomic
|
2643
|
-
|
2644
|
-
In this case, any value set for option C<DIR> is ignored.
|
2645
|
-
|
2646
|
-
B<Note>: for tempfiles, the filehandles from File::Temp are closed and not
|
2647
|
-
reused. This is not as secure as using File::Temp handles directly, but is
|
2648
|
-
less prone to deadlocks or access problems on some platforms. Think of what
|
2649
|
-
C<Path::Tiny> gives you to be just a temporary file B<name> that gets cleaned
|
2650
|
-
up.
|
2651
|
-
|
2652
|
-
B<Note 2>: if you don't want these cleaned up automatically when the object
|
2653
|
-
is destroyed, File::Temp requires different options for directories and
|
2654
|
-
files. Use C<< CLEANUP => 0 >> for directories and C<< UNLINK => 0 >> for
|
2655
|
-
files.
|
2656
|
-
|
2657
|
-
B<Note 3>: Don't lose the temporary object by chaining a method call instead
|
2658
|
-
of storing it:
|
2659
|
-
|
2660
|
-
my $lost = tempdir()->child("foo"); # tempdir cleaned up right away
|
2661
|
-
|
2662
|
-
B<Note 4>: The cached object may be accessed with the L</cached_temp> method.
|
2663
|
-
Keeping a reference to, or modifying the cached object may break the
|
2664
|
-
behavior documented above and is not supported. Use at your own risk.
|
2665
|
-
|
2666
|
-
Current API available since 0.119.
|
2667
|
-
|
2668
|
-
=head1 METHODS
|
2669
|
-
|
2670
|
-
=head2 absolute
|
2671
|
-
|
2672
|
-
$abs = path("foo/bar")->absolute;
|
2673
|
-
$abs = path("foo/bar")->absolute("/tmp");
|
2674
|
-
|
2675
|
-
Returns a new C<Path::Tiny> object with an absolute path (or itself if already
|
2676
|
-
absolute). If no argument is given, the current directory is used as the
|
2677
|
-
absolute base path. If an argument is given, it will be converted to an
|
2678
|
-
absolute path (if it is not already) and used as the absolute base path.
|
2679
|
-
|
2680
|
-
This will not resolve upward directories ("foo/../bar") unless C<canonpath>
|
2681
|
-
in L<File::Spec> would normally do so on your platform. If you need them
|
2682
|
-
resolved, you must call the more expensive C<realpath> method instead.
|
2683
|
-
|
2684
|
-
On Windows, an absolute path without a volume component will have it added
|
2685
|
-
based on the current drive.
|
2686
|
-
|
2687
|
-
Current API available since 0.101.
|
2688
|
-
|
2689
|
-
=head2 append, append_raw, append_utf8
|
2690
|
-
|
2691
|
-
path("foo.txt")->append(@data);
|
2692
|
-
path("foo.txt")->append(\@data);
|
2693
|
-
path("foo.txt")->append({binmode => ":raw"}, @data);
|
2694
|
-
path("foo.txt")->append_raw(@data);
|
2695
|
-
path("foo.txt")->append_utf8(@data);
|
2696
|
-
|
2697
|
-
Appends data to a file. The file is locked with C<flock> prior to writing
|
2698
|
-
and closed afterwards. An optional hash reference may be used to pass
|
2699
|
-
options. Valid options are:
|
2700
|
-
|
2701
|
-
=over 4
|
2702
|
-
|
2703
|
-
=item *
|
2704
|
-
|
2705
|
-
C<binmode>: passed to C<binmode()> on the handle used for writing.
|
2706
|
-
|
2707
|
-
=item *
|
2708
|
-
|
2709
|
-
C<truncate>: truncates the file after locking and before appending
|
2710
|
-
|
2711
|
-
=back
|
2712
|
-
|
2713
|
-
The C<truncate> option is a way to replace the contents of a file
|
2714
|
-
B<in place>, unlike L</spew> which writes to a temporary file and then
|
2715
|
-
replaces the original (if it exists).
|
2716
|
-
|
2717
|
-
C<append_raw> is like C<append> with a C<binmode> of C<:unix> for a fast,
|
2718
|
-
unbuffered, raw write.
|
2719
|
-
|
2720
|
-
C<append_utf8> is like C<append> with an unbuffered C<binmode>
|
2721
|
-
C<:unix:encoding(UTF-8)> (or C<:unix:utf8_strict> with
|
2722
|
-
L<PerlIO::utf8_strict>). If L<Unicode::UTF8> 0.58+ is installed, an
|
2723
|
-
unbuffered, raw append will be done instead on the data encoded with
|
2724
|
-
C<Unicode::UTF8>.
|
2725
|
-
|
2726
|
-
Current API available since 0.060.
|
2727
|
-
|
2728
|
-
=head2 assert
|
2729
|
-
|
2730
|
-
$path = path("foo.txt")->assert( sub { $_->exists } );
|
2731
|
-
|
2732
|
-
Returns the invocant after asserting that a code reference argument returns
|
2733
|
-
true. When the assertion code reference runs, it will have the invocant
|
2734
|
-
object in the C<$_> variable. If it returns false, an exception will be
|
2735
|
-
thrown. The assertion code reference may also throw its own exception.
|
2736
|
-
|
2737
|
-
If no assertion is provided, the invocant is returned without error.
|
2738
|
-
|
2739
|
-
Current API available since 0.062.
|
2740
|
-
|
2741
|
-
=head2 basename
|
2742
|
-
|
2743
|
-
$name = path("foo/bar.txt")->basename; # bar.txt
|
2744
|
-
$name = path("foo.txt")->basename('.txt'); # foo
|
2745
|
-
$name = path("foo.txt")->basename(qr/.txt/); # foo
|
2746
|
-
$name = path("foo.txt")->basename(@suffixes);
|
2747
|
-
|
2748
|
-
Returns the file portion or last directory portion of a path.
|
2749
|
-
|
2750
|
-
Given a list of suffixes as strings or regular expressions, any that match at
|
2751
|
-
the end of the file portion or last directory portion will be removed before
|
2752
|
-
the result is returned.
|
2753
|
-
|
2754
|
-
Current API available since 0.054.
|
2755
|
-
|
2756
|
-
=head2 canonpath
|
2757
|
-
|
2758
|
-
$canonical = path("foo/bar")->canonpath; # foo\bar on Windows
|
2759
|
-
|
2760
|
-
Returns a string with the canonical format of the path name for
|
2761
|
-
the platform. In particular, this means directory separators
|
2762
|
-
will be C<\> on Windows.
|
2763
|
-
|
2764
|
-
Current API available since 0.001.
|
2765
|
-
|
2766
|
-
=head2 cached_temp
|
2767
|
-
|
2768
|
-
Returns the cached C<File::Temp> or C<File::Temp::Dir> object if the
|
2769
|
-
C<Path::Tiny> object was created with C</tempfile> or C</tempdir>.
|
2770
|
-
If there is no such object, this method throws.
|
2771
|
-
|
2772
|
-
B<WARNING>: Keeping a reference to, or modifying the cached object may
|
2773
|
-
break the behavior documented for temporary files and directories created
|
2774
|
-
with C<Path::Tiny> and is not supported. Use at your own risk.
|
2775
|
-
|
2776
|
-
Current API available since 0.101.
|
2777
|
-
|
2778
|
-
=head2 child
|
2779
|
-
|
2780
|
-
$file = path("/tmp")->child("foo.txt"); # "/tmp/foo.txt"
|
2781
|
-
$file = path("/tmp")->child(@parts);
|
2782
|
-
|
2783
|
-
Returns a new C<Path::Tiny> object relative to the original. Works
|
2784
|
-
like C<catfile> or C<catdir> from File::Spec, but without caring about
|
2785
|
-
file or directories.
|
2786
|
-
|
2787
|
-
B<WARNING>: because the argument could contain C<..> or refer to symlinks,
|
2788
|
-
there is no guarantee that the new path refers to an actual descendent of
|
2789
|
-
the original. If this is important to you, transform parent and child with
|
2790
|
-
L</realpath> and check them with L</subsumes>.
|
2791
|
-
|
2792
|
-
Current API available since 0.001.
|
2793
|
-
|
2794
|
-
=head2 children
|
2795
|
-
|
2796
|
-
@paths = path("/tmp")->children;
|
2797
|
-
@paths = path("/tmp")->children( qr/\.txt\z/ );
|
2798
|
-
|
2799
|
-
Returns a list of C<Path::Tiny> objects for all files and directories
|
2800
|
-
within a directory. Excludes "." and ".." automatically.
|
2801
|
-
|
2802
|
-
If an optional C<qr//> argument is provided, it only returns objects for child
|
2803
|
-
names that match the given regular expression. Only the base name is used
|
2804
|
-
for matching:
|
2805
|
-
|
2806
|
-
@paths = path("/tmp")->children( qr/^foo/ );
|
2807
|
-
# matches children like the glob foo*
|
2808
|
-
|
2809
|
-
Current API available since 0.028.
|
2810
|
-
|
2811
|
-
=head2 chmod
|
2812
|
-
|
2813
|
-
path("foo.txt")->chmod(0777);
|
2814
|
-
path("foo.txt")->chmod("0755");
|
2815
|
-
path("foo.txt")->chmod("go-w");
|
2816
|
-
path("foo.txt")->chmod("a=r,u+wx");
|
2817
|
-
|
2818
|
-
Sets file or directory permissions. The argument can be a numeric mode, a
|
2819
|
-
octal string beginning with a "0" or a limited subset of the symbolic mode use
|
2820
|
-
by F</bin/chmod>.
|
2821
|
-
|
2822
|
-
The symbolic mode must be a comma-delimited list of mode clauses. Clauses must
|
2823
|
-
match C<< qr/\A([augo]+)([=+-])([rwx]+)\z/ >>, which defines "who", "op" and
|
2824
|
-
"perms" parameters for each clause. Unlike F</bin/chmod>, all three parameters
|
2825
|
-
are required for each clause, multiple ops are not allowed and permissions
|
2826
|
-
C<stugoX> are not supported. (See L<File::chmod> for more complex needs.)
|
2827
|
-
|
2828
|
-
Current API available since 0.053.
|
2829
|
-
|
2830
|
-
=head2 copy
|
2831
|
-
|
2832
|
-
path("/tmp/foo.txt")->copy("/tmp/bar.txt");
|
2833
|
-
|
2834
|
-
Copies the current path to the given destination using L<File::Copy>'s
|
2835
|
-
C<copy> function. Upon success, returns the C<Path::Tiny> object for the
|
2836
|
-
newly copied file.
|
2837
|
-
|
2838
|
-
Current API available since 0.070.
|
2839
|
-
|
2840
|
-
=head2 digest
|
2841
|
-
|
2842
|
-
$obj = path("/tmp/foo.txt")->digest; # SHA-256
|
2843
|
-
$obj = path("/tmp/foo.txt")->digest("MD5"); # user-selected
|
2844
|
-
$obj = path("/tmp/foo.txt")->digest( { chunk_size => 1e6 }, "MD5" );
|
2845
|
-
|
2846
|
-
Returns a hexadecimal digest for a file. An optional hash reference of options may
|
2847
|
-
be given. The only option is C<chunk_size>. If C<chunk_size> is given, that many
|
2848
|
-
bytes will be read at a time. If not provided, the entire file will be slurped
|
2849
|
-
into memory to compute the digest.
|
2850
|
-
|
2851
|
-
Any subsequent arguments are passed to the constructor for L<Digest> to select
|
2852
|
-
an algorithm. If no arguments are given, the default is SHA-256.
|
2853
|
-
|
2854
|
-
Current API available since 0.056.
|
2855
|
-
|
2856
|
-
=head2 dirname (deprecated)
|
2857
|
-
|
2858
|
-
$name = path("/tmp/foo.txt")->dirname; # "/tmp/"
|
2859
|
-
|
2860
|
-
Returns the directory portion you would get from calling
|
2861
|
-
C<< File::Spec->splitpath( $path->stringify ) >> or C<"."> for a path without a
|
2862
|
-
parent directory portion. Because L<File::Spec> is inconsistent, the result
|
2863
|
-
might or might not have a trailing slash. Because of this, this method is
|
2864
|
-
B<deprecated>.
|
2865
|
-
|
2866
|
-
A better, more consistently approach is likely C<< $path->parent->stringify >>,
|
2867
|
-
which will not have a trailing slash except for a root directory.
|
2868
|
-
|
2869
|
-
Deprecated in 0.056.
|
2870
|
-
|
2871
|
-
=head2 edit, edit_raw, edit_utf8
|
2872
|
-
|
2873
|
-
path("foo.txt")->edit( \&callback, $options );
|
2874
|
-
path("foo.txt")->edit_utf8( \&callback );
|
2875
|
-
path("foo.txt")->edit_raw( \&callback );
|
2876
|
-
|
2877
|
-
These are convenience methods that allow "editing" a file using a single
|
2878
|
-
callback argument. They slurp the file using C<slurp>, place the contents
|
2879
|
-
inside a localized C<$_> variable, call the callback function (without
|
2880
|
-
arguments), and then write C<$_> (presumably mutated) back to the
|
2881
|
-
file with C<spew>.
|
2882
|
-
|
2883
|
-
An optional hash reference may be used to pass options. The only option is
|
2884
|
-
C<binmode>, which is passed to C<slurp> and C<spew>.
|
2885
|
-
|
2886
|
-
C<edit_utf8> and C<edit_raw> act like their respective C<slurp_*> and
|
2887
|
-
C<spew_*> methods.
|
2888
|
-
|
2889
|
-
Current API available since 0.077.
|
2890
|
-
|
2891
|
-
=head2 edit_lines, edit_lines_utf8, edit_lines_raw
|
2892
|
-
|
2893
|
-
path("foo.txt")->edit_lines( \&callback, $options );
|
2894
|
-
path("foo.txt")->edit_lines_utf8( \&callback );
|
2895
|
-
path("foo.txt")->edit_lines_raw( \&callback );
|
2896
|
-
|
2897
|
-
These are convenience methods that allow "editing" a file's lines using a
|
2898
|
-
single callback argument. They iterate over the file: for each line, the
|
2899
|
-
line is put into a localized C<$_> variable, the callback function is
|
2900
|
-
executed (without arguments) and then C<$_> is written to a temporary file.
|
2901
|
-
When iteration is finished, the temporary file is atomically renamed over
|
2902
|
-
the original.
|
2903
|
-
|
2904
|
-
An optional hash reference may be used to pass options. The only option is
|
2905
|
-
C<binmode>, which is passed to the method that open handles for reading and
|
2906
|
-
writing.
|
2907
|
-
|
2908
|
-
C<edit_lines_raw> is like C<edit_lines> with a buffered C<binmode> of
|
2909
|
-
C<:raw>.
|
2910
|
-
|
2911
|
-
C<edit_lines_utf8> is like C<edit_lines> with a buffered C<binmode>
|
2912
|
-
C<:raw:encoding(UTF-8)> (or C<:raw:utf8_strict> with
|
2913
|
-
L<PerlIO::utf8_strict>).
|
2914
|
-
|
2915
|
-
Current API available since 0.077.
|
2916
|
-
|
2917
|
-
=head2 exists, is_file, is_dir
|
2918
|
-
|
2919
|
-
if ( path("/tmp")->exists ) { ... } # -e
|
2920
|
-
if ( path("/tmp")->is_dir ) { ... } # -d
|
2921
|
-
if ( path("/tmp")->is_file ) { ... } # -e && ! -d
|
2922
|
-
|
2923
|
-
Implements file test operations, this means the file or directory actually has
|
2924
|
-
to exist on the filesystem. Until then, it's just a path.
|
2925
|
-
|
2926
|
-
B<Note>: C<is_file> is not C<-f> because C<-f> is not the opposite of C<-d>.
|
2927
|
-
C<-f> means "plain file", excluding symlinks, devices, etc. that often can be
|
2928
|
-
read just like files.
|
2929
|
-
|
2930
|
-
Use C<-f> instead if you really mean to check for a plain file.
|
2931
|
-
|
2932
|
-
Current API available since 0.053.
|
2933
|
-
|
2934
|
-
=head2 filehandle
|
2935
|
-
|
2936
|
-
$fh = path("/tmp/foo.txt")->filehandle($mode, $binmode);
|
2937
|
-
$fh = path("/tmp/foo.txt")->filehandle({ locked => 1 }, $mode, $binmode);
|
2938
|
-
$fh = path("/tmp/foo.txt")->filehandle({ exclusive => 1 }, $mode, $binmode);
|
2939
|
-
|
2940
|
-
Returns an open file handle. The C<$mode> argument must be a Perl-style
|
2941
|
-
read/write mode string ("<" ,">", ">>", etc.). If a C<$binmode>
|
2942
|
-
is given, it is set during the C<open> call.
|
2943
|
-
|
2944
|
-
An optional hash reference may be used to pass options.
|
2945
|
-
|
2946
|
-
The C<locked> option governs file locking; if true, handles opened for writing,
|
2947
|
-
appending or read-write are locked with C<LOCK_EX>; otherwise, they are
|
2948
|
-
locked with C<LOCK_SH>. When using C<locked>, ">" or "+>" modes will delay
|
2949
|
-
truncation until after the lock is acquired.
|
2950
|
-
|
2951
|
-
The C<exclusive> option causes the open() call to fail if the file already
|
2952
|
-
exists. This corresponds to the O_EXCL flag to sysopen / open(2).
|
2953
|
-
C<exclusive> implies C<locked> and will set it for you if you forget it.
|
2954
|
-
|
2955
|
-
See C<openr>, C<openw>, C<openrw>, and C<opena> for sugar.
|
2956
|
-
|
2957
|
-
Current API available since 0.066.
|
2958
|
-
|
2959
|
-
=head2 has_same_bytes
|
2960
|
-
|
2961
|
-
if ( path("foo.txt")->has_same_bytes("bar.txt") ) {
|
2962
|
-
# ...
|
2963
|
-
}
|
2964
|
-
|
2965
|
-
This method returns true if both the invocant and the argument can be opened as
|
2966
|
-
file handles and the handles contain the same bytes. It returns false if their
|
2967
|
-
contents differ. If either can't be opened as a file (e.g. a directory or
|
2968
|
-
non-existent file), the method throws an exception. If both can be opened and
|
2969
|
-
both have the same C<realpath>, the method returns true without scanning any
|
2970
|
-
data.
|
2971
|
-
|
2972
|
-
Current API available since 0.125.
|
2973
|
-
|
2974
|
-
=head2 is_absolute, is_relative
|
2975
|
-
|
2976
|
-
if ( path("/tmp")->is_absolute ) { ... }
|
2977
|
-
if ( path("/tmp")->is_relative ) { ... }
|
2978
|
-
|
2979
|
-
Booleans for whether the path appears absolute or relative.
|
2980
|
-
|
2981
|
-
Current API available since 0.001.
|
2982
|
-
|
2983
|
-
=head2 is_rootdir
|
2984
|
-
|
2985
|
-
while ( ! $path->is_rootdir ) {
|
2986
|
-
$path = $path->parent;
|
2987
|
-
...
|
2988
|
-
}
|
2989
|
-
|
2990
|
-
Boolean for whether the path is the root directory of the volume. I.e. the
|
2991
|
-
C<dirname> is C<q[/]> and the C<basename> is C<q[]>.
|
2992
|
-
|
2993
|
-
This works even on C<MSWin32> with drives and UNC volumes:
|
2994
|
-
|
2995
|
-
path("C:/")->is_rootdir; # true
|
2996
|
-
path("//server/share/")->is_rootdir; #true
|
2997
|
-
|
2998
|
-
Current API available since 0.038.
|
2999
|
-
|
3000
|
-
=head2 iterator
|
3001
|
-
|
3002
|
-
$iter = path("/tmp")->iterator( \%options );
|
3003
|
-
|
3004
|
-
Returns a code reference that walks a directory lazily. Each invocation
|
3005
|
-
returns a C<Path::Tiny> object or undef when the iterator is exhausted.
|
3006
|
-
|
3007
|
-
$iter = path("/tmp")->iterator;
|
3008
|
-
while ( $path = $iter->() ) {
|
3009
|
-
...
|
3010
|
-
}
|
3011
|
-
|
3012
|
-
The current and parent directory entries ("." and "..") will not
|
3013
|
-
be included.
|
3014
|
-
|
3015
|
-
If the C<recurse> option is true, the iterator will walk the directory
|
3016
|
-
recursively, breadth-first. If the C<follow_symlinks> option is also true,
|
3017
|
-
directory links will be followed recursively. There is no protection against
|
3018
|
-
loops when following links. If a directory is not readable, it will not be
|
3019
|
-
followed.
|
3020
|
-
|
3021
|
-
The default is the same as:
|
3022
|
-
|
3023
|
-
$iter = path("/tmp")->iterator( {
|
3024
|
-
recurse => 0,
|
3025
|
-
follow_symlinks => 0,
|
3026
|
-
} );
|
3027
|
-
|
3028
|
-
For a more powerful, recursive iterator with built-in loop avoidance, see
|
3029
|
-
L<Path::Iterator::Rule>.
|
3030
|
-
|
3031
|
-
See also L</visit>.
|
3032
|
-
|
3033
|
-
Current API available since 0.016.
|
3034
|
-
|
3035
|
-
=head2 lines, lines_raw, lines_utf8
|
3036
|
-
|
3037
|
-
@contents = path("/tmp/foo.txt")->lines;
|
3038
|
-
@contents = path("/tmp/foo.txt")->lines(\%options);
|
3039
|
-
@contents = path("/tmp/foo.txt")->lines_raw;
|
3040
|
-
@contents = path("/tmp/foo.txt")->lines_utf8;
|
3041
|
-
|
3042
|
-
@contents = path("/tmp/foo.txt")->lines( { chomp => 1, count => 4 } );
|
3043
|
-
|
3044
|
-
Returns a list of lines from a file. Optionally takes a hash-reference of
|
3045
|
-
options. Valid options are C<binmode>, C<count> and C<chomp>.
|
3046
|
-
|
3047
|
-
If C<binmode> is provided, it will be set on the handle prior to reading.
|
3048
|
-
|
3049
|
-
If a positive C<count> is provided, that many lines will be returned from the
|
3050
|
-
start of the file. If a negative C<count> is provided, the entire file will be
|
3051
|
-
read, but only C<abs(count)> will be kept and returned. If C<abs(count)>
|
3052
|
-
exceeds the number of lines in the file, all lines will be returned.
|
3053
|
-
|
3054
|
-
If C<chomp> is set, any end-of-line character sequences (C<CR>, C<CRLF>, or
|
3055
|
-
C<LF>) will be removed from the lines returned.
|
3056
|
-
|
3057
|
-
Because the return is a list, C<lines> in scalar context will return the number
|
3058
|
-
of lines (and throw away the data).
|
3059
|
-
|
3060
|
-
$number_of_lines = path("/tmp/foo.txt")->lines;
|
3061
|
-
|
3062
|
-
C<lines_raw> is like C<lines> with a C<binmode> of C<:raw>. We use C<:raw>
|
3063
|
-
instead of C<:unix> so PerlIO buffering can manage reading by line.
|
3064
|
-
|
3065
|
-
C<lines_utf8> is like C<lines> with a C<binmode> of C<:raw:encoding(UTF-8)>
|
3066
|
-
(or C<:raw:utf8_strict> with L<PerlIO::utf8_strict>). If L<Unicode::UTF8>
|
3067
|
-
0.58+ is installed, a raw, unbuffered UTF-8 slurp will be done and then the
|
3068
|
-
lines will be split. This is actually faster than relying on
|
3069
|
-
IO layers, though a bit memory intensive. If memory use is a
|
3070
|
-
concern, consider C<openr_utf8> and iterating directly on the handle.
|
3071
|
-
|
3072
|
-
Current API available since 0.065.
|
3073
|
-
|
3074
|
-
=head2 mkdir
|
3075
|
-
|
3076
|
-
path("foo/bar/baz")->mkdir;
|
3077
|
-
path("foo/bar/baz")->mkdir( \%options );
|
3078
|
-
|
3079
|
-
Like calling C<make_path> from L<File::Path>. An optional hash reference
|
3080
|
-
is passed through to C<make_path>. Errors will be trapped and an exception
|
3081
|
-
thrown. Returns the the path object to facilitate chaining.
|
3082
|
-
|
3083
|
-
B<NOTE>: unlike Perl's builtin C<mkdir>, this will create intermediate paths
|
3084
|
-
similar to the Unix C<mkdir -p> command. It will not error if applied to an
|
3085
|
-
existing directory.
|
3086
|
-
|
3087
|
-
Current API available since 0.125.
|
3088
|
-
|
3089
|
-
=head2 mkpath (deprecated)
|
3090
|
-
|
3091
|
-
Like calling C<mkdir>, but returns the list of directories created or an empty list if
|
3092
|
-
the directories already exist, just like C<make_path>.
|
3093
|
-
|
3094
|
-
Deprecated in 0.125.
|
3095
|
-
|
3096
|
-
=head2 move
|
3097
|
-
|
3098
|
-
path("foo.txt")->move("bar.txt");
|
3099
|
-
|
3100
|
-
Moves the current path to the given destination using L<File::Copy>'s
|
3101
|
-
C<move> function. Upon success, returns the C<Path::Tiny> object for the
|
3102
|
-
newly moved file.
|
3103
|
-
|
3104
|
-
If the destination already exists and is a directory, and the source is not a
|
3105
|
-
directory, then the source file will be renamed into the directory
|
3106
|
-
specified by the destination.
|
3107
|
-
|
3108
|
-
If possible, move() will simply rename the file. Otherwise, it
|
3109
|
-
copies the file to the new location and deletes the original. If an
|
3110
|
-
error occurs during this copy-and-delete process, you may be left
|
3111
|
-
with a (possibly partial) copy of the file under the destination
|
3112
|
-
name.
|
3113
|
-
|
3114
|
-
Current API available since 0.124. Prior versions used Perl's
|
3115
|
-
-built-in (and less robust) L<rename|perlfunc/rename> function
|
3116
|
-
and did not return an object.
|
3117
|
-
|
3118
|
-
=head2 openr, openw, openrw, opena
|
3119
|
-
|
3120
|
-
$fh = path("foo.txt")->openr($binmode); # read
|
3121
|
-
$fh = path("foo.txt")->openr_raw;
|
3122
|
-
$fh = path("foo.txt")->openr_utf8;
|
3123
|
-
|
3124
|
-
$fh = path("foo.txt")->openw($binmode); # write
|
3125
|
-
$fh = path("foo.txt")->openw_raw;
|
3126
|
-
$fh = path("foo.txt")->openw_utf8;
|
3127
|
-
|
3128
|
-
$fh = path("foo.txt")->opena($binmode); # append
|
3129
|
-
$fh = path("foo.txt")->opena_raw;
|
3130
|
-
$fh = path("foo.txt")->opena_utf8;
|
3131
|
-
|
3132
|
-
$fh = path("foo.txt")->openrw($binmode); # read/write
|
3133
|
-
$fh = path("foo.txt")->openrw_raw;
|
3134
|
-
$fh = path("foo.txt")->openrw_utf8;
|
3135
|
-
|
3136
|
-
Returns a file handle opened in the specified mode. The C<openr> style methods
|
3137
|
-
take a single C<binmode> argument. All of the C<open*> methods have
|
3138
|
-
C<open*_raw> and C<open*_utf8> equivalents that use buffered I/O layers C<:raw>
|
3139
|
-
and C<:raw:encoding(UTF-8)> (or C<:raw:utf8_strict> with
|
3140
|
-
L<PerlIO::utf8_strict>).
|
3141
|
-
|
3142
|
-
An optional hash reference may be used to pass options. The only option is
|
3143
|
-
C<locked>. If true, handles opened for writing, appending or read-write are
|
3144
|
-
locked with C<LOCK_EX>; otherwise, they are locked for C<LOCK_SH>.
|
3145
|
-
|
3146
|
-
$fh = path("foo.txt")->openrw_utf8( { locked => 1 } );
|
3147
|
-
|
3148
|
-
See L</filehandle> for more on locking.
|
3149
|
-
|
3150
|
-
Current API available since 0.011.
|
3151
|
-
|
3152
|
-
=head2 parent
|
3153
|
-
|
3154
|
-
$parent = path("foo/bar/baz")->parent; # foo/bar
|
3155
|
-
$parent = path("foo/wibble.txt")->parent; # foo
|
3156
|
-
|
3157
|
-
$parent = path("foo/bar/baz")->parent(2); # foo
|
3158
|
-
|
3159
|
-
Returns a C<Path::Tiny> object corresponding to the parent directory of the
|
3160
|
-
original directory or file. An optional positive integer argument is the number
|
3161
|
-
of parent directories upwards to return. C<parent> by itself is equivalent to
|
3162
|
-
C<parent(1)>.
|
3163
|
-
|
3164
|
-
Current API available since 0.014.
|
3165
|
-
|
3166
|
-
=head2 realpath
|
3167
|
-
|
3168
|
-
$real = path("/baz/foo/../bar")->realpath;
|
3169
|
-
$real = path("foo/../bar")->realpath;
|
3170
|
-
|
3171
|
-
Returns a new C<Path::Tiny> object with all symbolic links and upward directory
|
3172
|
-
parts resolved using L<Cwd>'s C<realpath>. Compared to C<absolute>, this is
|
3173
|
-
more expensive as it must actually consult the filesystem.
|
3174
|
-
|
3175
|
-
If the parent path can't be resolved (e.g. if it includes directories that
|
3176
|
-
don't exist), an exception will be thrown:
|
3177
|
-
|
3178
|
-
$real = path("doesnt_exist/foo")->realpath; # dies
|
3179
|
-
|
3180
|
-
However, if the parent path exists and only the last component (e.g. filename)
|
3181
|
-
doesn't exist, the realpath will be the realpath of the parent plus the
|
3182
|
-
non-existent last component:
|
3183
|
-
|
3184
|
-
$real = path("./aasdlfasdlf")->realpath; # works
|
3185
|
-
|
3186
|
-
The underlying L<Cwd> module usually worked this way on Unix, but died on
|
3187
|
-
Windows (and some Unixes) if the full path didn't exist. As of version 0.064,
|
3188
|
-
it's safe to use anywhere.
|
3189
|
-
|
3190
|
-
Current API available since 0.001.
|
3191
|
-
|
3192
|
-
=head2 relative
|
3193
|
-
|
3194
|
-
$rel = path("/tmp/foo/bar")->relative("/tmp"); # foo/bar
|
3195
|
-
|
3196
|
-
Returns a C<Path::Tiny> object with a path relative to a new base path
|
3197
|
-
given as an argument. If no argument is given, the current directory will
|
3198
|
-
be used as the new base path.
|
3199
|
-
|
3200
|
-
If either path is already relative, it will be made absolute based on the
|
3201
|
-
current directly before determining the new relative path.
|
3202
|
-
|
3203
|
-
The algorithm is roughly as follows:
|
3204
|
-
|
3205
|
-
=over 4
|
3206
|
-
|
3207
|
-
=item *
|
3208
|
-
|
3209
|
-
If the original and new base path are on different volumes, an exception will be thrown.
|
3210
|
-
|
3211
|
-
=item *
|
3212
|
-
|
3213
|
-
If the original and new base are identical, the relative path is C<".">.
|
3214
|
-
|
3215
|
-
=item *
|
3216
|
-
|
3217
|
-
If the new base subsumes the original, the relative path is the original path with the new base chopped off the front
|
3218
|
-
|
3219
|
-
=item *
|
3220
|
-
|
3221
|
-
If the new base does not subsume the original, a common prefix path is determined (possibly the root directory) and the relative path will consist of updirs (C<"..">) to reach the common prefix, followed by the original path less the common prefix.
|
3222
|
-
|
3223
|
-
=back
|
3224
|
-
|
3225
|
-
Unlike C<File::Spec::abs2rel>, in the last case above, the calculation based
|
3226
|
-
on a common prefix takes into account symlinks that could affect the updir
|
3227
|
-
process. Given an original path "/A/B" and a new base "/A/C",
|
3228
|
-
(where "A", "B" and "C" could each have multiple path components):
|
3229
|
-
|
3230
|
-
=over 4
|
3231
|
-
|
3232
|
-
=item *
|
3233
|
-
|
3234
|
-
Symlinks in "A" don't change the result unless the last component of A is a symlink and the first component of "C" is an updir.
|
3235
|
-
|
3236
|
-
=item *
|
3237
|
-
|
3238
|
-
Symlinks in "B" don't change the result and will exist in the result as given.
|
3239
|
-
|
3240
|
-
=item *
|
3241
|
-
|
3242
|
-
Symlinks and updirs in "C" must be resolved to actual paths, taking into account the possibility that not all path components might exist on the filesystem.
|
3243
|
-
|
3244
|
-
=back
|
3245
|
-
|
3246
|
-
Current API available since 0.001. New algorithm (that accounts for
|
3247
|
-
symlinks) available since 0.079.
|
3248
|
-
|
3249
|
-
=head2 remove
|
3250
|
-
|
3251
|
-
path("foo.txt")->remove;
|
3252
|
-
|
3253
|
-
This is just like C<unlink>, except for its error handling: if the path does
|
3254
|
-
not exist, it returns false; if deleting the file fails, it throws an
|
3255
|
-
exception.
|
3256
|
-
|
3257
|
-
Current API available since 0.012.
|
3258
|
-
|
3259
|
-
=head2 remove_tree
|
3260
|
-
|
3261
|
-
# directory
|
3262
|
-
path("foo/bar/baz")->remove_tree;
|
3263
|
-
path("foo/bar/baz")->remove_tree( \%options );
|
3264
|
-
path("foo/bar/baz")->remove_tree( { safe => 0 } ); # force remove
|
3265
|
-
|
3266
|
-
Like calling C<remove_tree> from L<File::Path>, but defaults to C<safe> mode.
|
3267
|
-
An optional hash reference is passed through to C<remove_tree>. Errors will be
|
3268
|
-
trapped and an exception thrown. Returns the number of directories deleted,
|
3269
|
-
just like C<remove_tree>.
|
3270
|
-
|
3271
|
-
If you want to remove a directory only if it is empty, use the built-in
|
3272
|
-
C<rmdir> function instead.
|
3273
|
-
|
3274
|
-
rmdir path("foo/bar/baz/");
|
3275
|
-
|
3276
|
-
Current API available since 0.013.
|
3277
|
-
|
3278
|
-
=head2 sibling
|
3279
|
-
|
3280
|
-
$foo = path("/tmp/foo.txt");
|
3281
|
-
$sib = $foo->sibling("bar.txt"); # /tmp/bar.txt
|
3282
|
-
$sib = $foo->sibling("baz", "bam.txt"); # /tmp/baz/bam.txt
|
3283
|
-
|
3284
|
-
Returns a new C<Path::Tiny> object relative to the parent of the original.
|
3285
|
-
This is slightly more efficient than C<< $path->parent->child(...) >>.
|
3286
|
-
|
3287
|
-
Current API available since 0.058.
|
3288
|
-
|
3289
|
-
=head2 size, size_human
|
3290
|
-
|
3291
|
-
my $p = path("foo"); # with size 1025 bytes
|
3292
|
-
|
3293
|
-
$p->size; # "1025"
|
3294
|
-
$p->size_human; # "1.1 K"
|
3295
|
-
$p->size_human( {format => "iec"} ); # "1.1 KiB"
|
3296
|
-
|
3297
|
-
Returns the size of a file. The C<size> method is just a wrapper around C<-s>.
|
3298
|
-
|
3299
|
-
The C<size_human> method provides a human-readable string similar to
|
3300
|
-
C<ls -lh>. Like C<ls>, it rounds upwards and provides one decimal place for
|
3301
|
-
single-digit sizes and no decimal places for larger sizes. The only available
|
3302
|
-
option is C<format>, which has three valid values:
|
3303
|
-
|
3304
|
-
=over 4
|
3305
|
-
|
3306
|
-
=item *
|
3307
|
-
|
3308
|
-
'ls' (the default): base-2 sizes, with C<ls> style single-letter suffixes (K, M, etc.)
|
3309
|
-
|
3310
|
-
=item *
|
3311
|
-
|
3312
|
-
'iec': base-2 sizes, with IEC binary suffixes (KiB, MiB, etc.)
|
3313
|
-
|
3314
|
-
=item *
|
3315
|
-
|
3316
|
-
'si': base-10 sizes, with SI decimal suffixes (kB, MB, etc.)
|
3317
|
-
|
3318
|
-
=back
|
3319
|
-
|
3320
|
-
If C<-s> would return C<undef>, C<size_human> returns the empty string.
|
3321
|
-
|
3322
|
-
Current API available since 0.122.
|
3323
|
-
|
3324
|
-
=head2 slurp, slurp_raw, slurp_utf8
|
3325
|
-
|
3326
|
-
$data = path("foo.txt")->slurp;
|
3327
|
-
$data = path("foo.txt")->slurp( {binmode => ":raw"} );
|
3328
|
-
$data = path("foo.txt")->slurp_raw;
|
3329
|
-
$data = path("foo.txt")->slurp_utf8;
|
3330
|
-
|
3331
|
-
Reads file contents into a scalar. Takes an optional hash reference which may
|
3332
|
-
be used to pass options. The only available option is C<binmode>, which is
|
3333
|
-
passed to C<binmode()> on the handle used for reading.
|
3334
|
-
|
3335
|
-
C<slurp_raw> is like C<slurp> with a C<binmode> of C<:unix> for
|
3336
|
-
a fast, unbuffered, raw read.
|
3337
|
-
|
3338
|
-
C<slurp_utf8> is like C<slurp> with a C<binmode> of
|
3339
|
-
C<:unix:encoding(UTF-8)> (or C<:unix:utf8_strict> with
|
3340
|
-
L<PerlIO::utf8_strict>). If L<Unicode::UTF8> 0.58+ is installed, a
|
3341
|
-
unbuffered, raw slurp will be done instead and the result decoded with
|
3342
|
-
C<Unicode::UTF8>. This is just as strict and is roughly an order of
|
3343
|
-
magnitude faster than using C<:encoding(UTF-8)>.
|
3344
|
-
|
3345
|
-
B<Note>: C<slurp> and friends lock the filehandle before slurping. If
|
3346
|
-
you plan to slurp from a file created with L<File::Temp>, be sure to
|
3347
|
-
close other handles or open without locking to avoid a deadlock:
|
3348
|
-
|
3349
|
-
my $tempfile = File::Temp->new(EXLOCK => 0);
|
3350
|
-
my $guts = path($tempfile)->slurp;
|
3351
|
-
|
3352
|
-
Current API available since 0.004.
|
3353
|
-
|
3354
|
-
=head2 spew, spew_raw, spew_utf8
|
3355
|
-
|
3356
|
-
path("foo.txt")->spew(@data);
|
3357
|
-
path("foo.txt")->spew(\@data);
|
3358
|
-
path("foo.txt")->spew({binmode => ":raw"}, @data);
|
3359
|
-
path("foo.txt")->spew_raw(@data);
|
3360
|
-
path("foo.txt")->spew_utf8(@data);
|
3361
|
-
|
3362
|
-
Writes data to a file atomically. The file is written to a temporary file in
|
3363
|
-
the same directory, then renamed over the original. An optional hash reference
|
3364
|
-
may be used to pass options. The only option is C<binmode>, which is passed to
|
3365
|
-
C<binmode()> on the handle used for writing.
|
3366
|
-
|
3367
|
-
C<spew_raw> is like C<spew> with a C<binmode> of C<:unix> for a fast,
|
3368
|
-
unbuffered, raw write.
|
3369
|
-
|
3370
|
-
C<spew_utf8> is like C<spew> with a C<binmode> of C<:unix:encoding(UTF-8)>
|
3371
|
-
(or C<:unix:utf8_strict> with L<PerlIO::utf8_strict>). If L<Unicode::UTF8>
|
3372
|
-
0.58+ is installed, a raw, unbuffered spew will be done instead on the data
|
3373
|
-
encoded with C<Unicode::UTF8>.
|
3374
|
-
|
3375
|
-
B<NOTE>: because the file is written to a temporary file and then renamed, the
|
3376
|
-
new file will wind up with permissions based on your current umask. This is a
|
3377
|
-
feature to protect you from a race condition that would otherwise give
|
3378
|
-
different permissions than you might expect. If you really want to keep the
|
3379
|
-
original mode flags, use L</append> with the C<truncate> option.
|
3380
|
-
|
3381
|
-
Current API available since 0.011.
|
3382
|
-
|
3383
|
-
=head2 stat, lstat
|
3384
|
-
|
3385
|
-
$stat = path("foo.txt")->stat;
|
3386
|
-
$stat = path("/some/symlink")->lstat;
|
3387
|
-
|
3388
|
-
Like calling C<stat> or C<lstat> from L<File::stat>.
|
3389
|
-
|
3390
|
-
Current API available since 0.001.
|
3391
|
-
|
3392
|
-
=head2 stringify
|
3393
|
-
|
3394
|
-
$path = path("foo.txt");
|
3395
|
-
say $path->stringify; # same as "$path"
|
3396
|
-
|
3397
|
-
Returns a string representation of the path. Unlike C<canonpath>, this method
|
3398
|
-
returns the path standardized with Unix-style C</> directory separators.
|
3399
|
-
|
3400
|
-
Current API available since 0.001.
|
3401
|
-
|
3402
|
-
=head2 subsumes
|
3403
|
-
|
3404
|
-
path("foo/bar")->subsumes("foo/bar/baz"); # true
|
3405
|
-
path("/foo/bar")->subsumes("/foo/baz"); # false
|
3406
|
-
|
3407
|
-
Returns true if the first path is a prefix of the second path at a directory
|
3408
|
-
boundary.
|
3409
|
-
|
3410
|
-
This B<does not> resolve parent directory entries (C<..>) or symlinks:
|
3411
|
-
|
3412
|
-
path("foo/bar")->subsumes("foo/bar/../baz"); # true
|
3413
|
-
|
3414
|
-
If such things are important to you, ensure that both paths are resolved to
|
3415
|
-
the filesystem with C<realpath>:
|
3416
|
-
|
3417
|
-
my $p1 = path("foo/bar")->realpath;
|
3418
|
-
my $p2 = path("foo/bar/../baz")->realpath;
|
3419
|
-
if ( $p1->subsumes($p2) ) { ... }
|
3420
|
-
|
3421
|
-
Current API available since 0.048.
|
3422
|
-
|
3423
|
-
=head2 touch
|
3424
|
-
|
3425
|
-
path("foo.txt")->touch;
|
3426
|
-
path("foo.txt")->touch($epoch_secs);
|
3427
|
-
|
3428
|
-
Like the Unix C<touch> utility. Creates the file if it doesn't exist, or else
|
3429
|
-
changes the modification and access times to the current time. If the first
|
3430
|
-
argument is the epoch seconds then it will be used.
|
3431
|
-
|
3432
|
-
Returns the path object so it can be easily chained with other methods:
|
3433
|
-
|
3434
|
-
# won't die if foo.txt doesn't exist
|
3435
|
-
$content = path("foo.txt")->touch->slurp;
|
3436
|
-
|
3437
|
-
Current API available since 0.015.
|
3438
|
-
|
3439
|
-
=head2 touchpath
|
3440
|
-
|
3441
|
-
path("bar/baz/foo.txt")->touchpath;
|
3442
|
-
|
3443
|
-
Combines C<mkdir> and C<touch>. Creates the parent directory if it doesn't exist,
|
3444
|
-
before touching the file. Returns the path object like C<touch> does.
|
3445
|
-
|
3446
|
-
If you need to pass options, use C<mkdir> and C<touch> separately:
|
3447
|
-
|
3448
|
-
path("bar/baz")->mkdir( \%options )->child("foo.txt")->touch($epoch_secs);
|
3449
|
-
|
3450
|
-
Current API available since 0.022.
|
3451
|
-
|
3452
|
-
=head2 visit
|
3453
|
-
|
3454
|
-
path("/tmp")->visit( \&callback, \%options );
|
3455
|
-
|
3456
|
-
Executes a callback for each child of a directory. It returns a hash
|
3457
|
-
reference with any state accumulated during iteration.
|
3458
|
-
|
3459
|
-
The options are the same as for L</iterator> (which it uses internally):
|
3460
|
-
C<recurse> and C<follow_symlinks>. Both default to false.
|
3461
|
-
|
3462
|
-
The callback function will receive a C<Path::Tiny> object as the first argument
|
3463
|
-
and a hash reference to accumulate state as the second argument. For example:
|
3464
|
-
|
3465
|
-
# collect files sizes
|
3466
|
-
my $sizes = path("/tmp")->visit(
|
3467
|
-
sub {
|
3468
|
-
my ($path, $state) = @_;
|
3469
|
-
return if $path->is_dir;
|
3470
|
-
$state->{$path} = -s $path;
|
3471
|
-
},
|
3472
|
-
{ recurse => 1 }
|
3473
|
-
);
|
3474
|
-
|
3475
|
-
For convenience, the C<Path::Tiny> object will also be locally aliased as the
|
3476
|
-
C<$_> global variable:
|
3477
|
-
|
3478
|
-
# print paths matching /foo/
|
3479
|
-
path("/tmp")->visit( sub { say if /foo/ }, { recurse => 1} );
|
3480
|
-
|
3481
|
-
If the callback returns a B<reference> to a false scalar value, iteration will
|
3482
|
-
terminate. This is not the same as "pruning" a directory search; this just
|
3483
|
-
stops all iteration and returns the state hash reference.
|
3484
|
-
|
3485
|
-
# find up to 10 files larger than 100K
|
3486
|
-
my $files = path("/tmp")->visit(
|
3487
|
-
sub {
|
3488
|
-
my ($path, $state) = @_;
|
3489
|
-
$state->{$path}++ if -s $path > 102400
|
3490
|
-
return \0 if keys %$state == 10;
|
3491
|
-
},
|
3492
|
-
{ recurse => 1 }
|
3493
|
-
);
|
3494
|
-
|
3495
|
-
If you want more flexible iteration, use a module like L<Path::Iterator::Rule>.
|
3496
|
-
|
3497
|
-
Current API available since 0.062.
|
3498
|
-
|
3499
|
-
=head2 volume
|
3500
|
-
|
3501
|
-
$vol = path("/tmp/foo.txt")->volume; # ""
|
3502
|
-
$vol = path("C:/tmp/foo.txt")->volume; # "C:"
|
3503
|
-
|
3504
|
-
Returns the volume portion of the path. This is equivalent
|
3505
|
-
to what L<File::Spec> would give from C<splitpath> and thus
|
3506
|
-
usually is the empty string on Unix-like operating systems or the
|
3507
|
-
drive letter for an absolute path on C<MSWin32>.
|
3508
|
-
|
3509
|
-
Current API available since 0.001.
|
3510
|
-
|
3511
|
-
=for Pod::Coverage openr_utf8 opena_utf8 openw_utf8 openrw_utf8
|
3512
|
-
openr_raw opena_raw openw_raw openrw_raw
|
3513
|
-
IS_WIN32 FREEZE THAW TO_JSON abs2rel
|
3514
|
-
|
3515
|
-
=head1 EXCEPTION HANDLING
|
3516
|
-
|
3517
|
-
Simple usage errors will generally croak. Failures of underlying Perl
|
3518
|
-
functions will be thrown as exceptions in the class
|
3519
|
-
C<Path::Tiny::Error>.
|
3520
|
-
|
3521
|
-
A C<Path::Tiny::Error> object will be a hash reference with the following fields:
|
3522
|
-
|
3523
|
-
=over 4
|
3524
|
-
|
3525
|
-
=item *
|
3526
|
-
|
3527
|
-
C<op> — a description of the operation, usually function call and any extra info
|
3528
|
-
|
3529
|
-
=item *
|
3530
|
-
|
3531
|
-
C<file> — the file or directory relating to the error
|
3532
|
-
|
3533
|
-
=item *
|
3534
|
-
|
3535
|
-
C<err> — hold C<$!> at the time the error was thrown
|
3536
|
-
|
3537
|
-
=item *
|
3538
|
-
|
3539
|
-
C<msg> — a string combining the above data and a Carp-like short stack trace
|
3540
|
-
|
3541
|
-
=back
|
3542
|
-
|
3543
|
-
Exception objects will stringify as the C<msg> field.
|
3544
|
-
|
3545
|
-
=head1 ENVIRONMENT
|
3546
|
-
|
3547
|
-
=head2 PERL_PATH_TINY_NO_FLOCK
|
3548
|
-
|
3549
|
-
If the environment variable C<PERL_PATH_TINY_NO_FLOCK> is set to a true
|
3550
|
-
value then flock will NOT be used when accessing files (this is not
|
3551
|
-
recommended).
|
3552
|
-
|
3553
|
-
=head1 CAVEATS
|
3554
|
-
|
3555
|
-
=head2 Subclassing not supported
|
3556
|
-
|
3557
|
-
For speed, this class is implemented as an array based object and uses many
|
3558
|
-
direct function calls internally. You must not subclass it and expect
|
3559
|
-
things to work properly.
|
3560
|
-
|
3561
|
-
=head2 Tilde expansion (deprecated)
|
3562
|
-
|
3563
|
-
Tilde expansion was a nice idea, but it can't easily be applied consistently
|
3564
|
-
across the entire API. This was a source of bugs and confusion for users.
|
3565
|
-
Therefore, it is B<deprecated> and its use is discouraged. Limitations to the
|
3566
|
-
existing, legacy behavior follow.
|
3567
|
-
|
3568
|
-
Tilde expansion will only occur if the B<first> argument to C<path> begins with
|
3569
|
-
a tilde. B<No other method does tilde expansion on its arguments>. If you want
|
3570
|
-
tilde expansion on arguments, you must explicitly wrap them in a call to
|
3571
|
-
C<path>.
|
3572
|
-
|
3573
|
-
path( "~/foo.txt" )->copy( path( "~/bar.txt" ) );
|
3574
|
-
|
3575
|
-
If you need a literal leading tilde, use C<path("./~whatever")> so that the
|
3576
|
-
argument to C<path> doesn't start with a tilde, but the path still resolves to
|
3577
|
-
the current directory.
|
3578
|
-
|
3579
|
-
Behaviour of tilde expansion with a username for non-existent users depends on
|
3580
|
-
the output of C<glob> on the system.
|
3581
|
-
|
3582
|
-
=head2 File locking
|
3583
|
-
|
3584
|
-
If flock is not supported on a platform, it will not be used, even if
|
3585
|
-
locking is requested.
|
3586
|
-
|
3587
|
-
In situations where a platform normally would support locking, but the
|
3588
|
-
flock fails due to a filesystem limitation, Path::Tiny has some heuristics
|
3589
|
-
to detect this and will warn once and continue in an unsafe mode. If you
|
3590
|
-
want this failure to be fatal, you can fatalize the 'flock' warnings
|
3591
|
-
category:
|
3592
|
-
|
3593
|
-
use warnings FATAL => 'flock';
|
3594
|
-
|
3595
|
-
See additional caveats below.
|
3596
|
-
|
3597
|
-
=head3 NFS and BSD
|
3598
|
-
|
3599
|
-
On BSD, Perl's flock implementation may not work to lock files on an
|
3600
|
-
NFS filesystem. If detected, this situation will warn once, as described
|
3601
|
-
above.
|
3602
|
-
|
3603
|
-
=head3 Lustre
|
3604
|
-
|
3605
|
-
The Lustre filesystem does not support flock. If detected, this situation
|
3606
|
-
will warn once, as described above.
|
3607
|
-
|
3608
|
-
=head3 AIX and locking
|
3609
|
-
|
3610
|
-
AIX requires a write handle for locking. Therefore, calls that normally
|
3611
|
-
open a read handle and take a shared lock instead will open a read-write
|
3612
|
-
handle and take an exclusive lock. If the user does not have write
|
3613
|
-
permission, no lock will be used.
|
3614
|
-
|
3615
|
-
=head2 utf8 vs UTF-8
|
3616
|
-
|
3617
|
-
All the C<*_utf8> methods by default use C<:encoding(UTF-8)> -- either as
|
3618
|
-
C<:unix:encoding(UTF-8)> (unbuffered, for whole file operations) or
|
3619
|
-
C<:raw:encoding(UTF-8)> (buffered, for line-by-line operations). These are
|
3620
|
-
strict against the Unicode spec and disallows illegal Unicode codepoints or
|
3621
|
-
UTF-8 sequences.
|
3622
|
-
|
3623
|
-
Unfortunately, C<:encoding(UTF-8)> is very, very slow. If you install
|
3624
|
-
L<Unicode::UTF8> 0.58 or later, that module will be used by some C<*_utf8>
|
3625
|
-
methods to encode or decode data after a raw, binary input/output operation,
|
3626
|
-
which is much faster. Alternatively, if you install L<PerlIO::utf8_strict>,
|
3627
|
-
that will be used instead of C<:encoding(UTF-8)> and is also very fast.
|
3628
|
-
|
3629
|
-
If you need the performance and can accept the security risk,
|
3630
|
-
C<< slurp({binmode => ":unix:utf8"}) >> will be faster than C<:unix:encoding(UTF-8)>
|
3631
|
-
(but not as fast as C<Unicode::UTF8>).
|
3632
|
-
|
3633
|
-
Note that the C<*_utf8> methods read in B<raw> mode. There is no CRLF
|
3634
|
-
translation on Windows. If you must have CRLF translation, use the regular
|
3635
|
-
input/output methods with an appropriate binmode:
|
3636
|
-
|
3637
|
-
$path->spew_utf8($data); # raw
|
3638
|
-
$path->spew({binmode => ":encoding(UTF-8)"}, $data; # LF -> CRLF
|
3639
|
-
|
3640
|
-
=head2 Default IO layers and the open pragma
|
3641
|
-
|
3642
|
-
If you have Perl 5.10 or later, file input/output methods (C<slurp>, C<spew>,
|
3643
|
-
etc.) and high-level handle opening methods ( C<filehandle>, C<openr>,
|
3644
|
-
C<openw>, etc. ) respect default encodings set by the C<-C> switch or lexical
|
3645
|
-
L<open> settings of the caller. For UTF-8, this is almost certainly slower
|
3646
|
-
than using the dedicated C<_utf8> methods if you have L<Unicode::UTF8> or
|
3647
|
-
L<PerlIP::utf8_strict>.
|
3648
|
-
|
3649
|
-
=head1 TYPE CONSTRAINTS AND COERCION
|
3650
|
-
|
3651
|
-
A standard L<MooseX::Types> library is available at
|
3652
|
-
L<MooseX::Types::Path::Tiny>. A L<Type::Tiny> equivalent is available as
|
3653
|
-
L<Types::Path::Tiny>.
|
3654
|
-
|
3655
|
-
=head1 SEE ALSO
|
3656
|
-
|
3657
|
-
These are other file/path utilities, which may offer a different feature
|
3658
|
-
set than C<Path::Tiny>.
|
3659
|
-
|
3660
|
-
=over 4
|
3661
|
-
|
3662
|
-
=item *
|
3663
|
-
|
3664
|
-
L<File::chmod>
|
3665
|
-
|
3666
|
-
=item *
|
3667
|
-
|
3668
|
-
L<File::Fu>
|
3669
|
-
|
3670
|
-
=item *
|
3671
|
-
|
3672
|
-
L<IO::All>
|
3673
|
-
|
3674
|
-
=item *
|
3675
|
-
|
3676
|
-
L<Path::Class>
|
3677
|
-
|
3678
|
-
=back
|
3679
|
-
|
3680
|
-
These iterators may be slightly faster than the recursive iterator in
|
3681
|
-
C<Path::Tiny>:
|
3682
|
-
|
3683
|
-
=over 4
|
3684
|
-
|
3685
|
-
=item *
|
3686
|
-
|
3687
|
-
L<Path::Iterator::Rule>
|
3688
|
-
|
3689
|
-
=item *
|
3690
|
-
|
3691
|
-
L<File::Next>
|
3692
|
-
|
3693
|
-
=back
|
3694
|
-
|
3695
|
-
There are probably comparable, non-Tiny tools. Let me know if you want me to
|
3696
|
-
add a module to the list.
|
3697
|
-
|
3698
|
-
This module was featured in the L<2013 Perl Advent Calendar|http://www.perladvent.org/2013/2013-12-18.html>.
|
3699
|
-
|
3700
|
-
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
|
3701
|
-
|
3702
|
-
=head1 SUPPORT
|
3703
|
-
|
3704
|
-
=head2 Bugs / Feature Requests
|
3705
|
-
|
3706
|
-
Please report any bugs or feature requests through the issue tracker
|
3707
|
-
at L<https://github.com/dagolden/Path-Tiny/issues>.
|
3708
|
-
You will be notified automatically of any progress on your issue.
|
3709
|
-
|
3710
|
-
=head2 Source Code
|
3711
|
-
|
3712
|
-
This is open source software. The code repository is available for
|
3713
|
-
public review and contribution under the terms of the license.
|
3714
|
-
|
3715
|
-
L<https://github.com/dagolden/Path-Tiny>
|
3716
|
-
|
3717
|
-
git clone https://github.com/dagolden/Path-Tiny.git
|
3718
|
-
|
3719
|
-
=head1 AUTHOR
|
3720
|
-
|
3721
|
-
David Golden <dagolden@cpan.org>
|
3722
|
-
|
3723
|
-
=head1 CONTRIBUTORS
|
3724
|
-
|
3725
|
-
=for stopwords Alex Efros Aristotle Pagaltzis Chris Williams Dan Book Dave Rolsky David Steinbrunner Doug Bell Elvin Aslanov Flavio Poletti Gabor Szabo Gabriel Andrade George Hartzell Geraud Continsouzas Goro Fuji Graham Knop Ollis Ian Sillitoe James Hunt John Karr Karen Etheridge Mark Ellis Martin H. Sluka Kjeldsen Mary Ehlers Michael G. Schwern Nicolas R Rochelemagne Nigel Gregoire Philippe Bruhat (BooK) regina-verbae Roy Ivy III Shlomi Fish Smylers Tatsuhiko Miyagawa Toby Inkster Yanick Champoux 김도형 - Keedi Kim
|
3726
|
-
|
3727
|
-
=over 4
|
3728
|
-
|
3729
|
-
=item *
|
3730
|
-
|
3731
|
-
Alex Efros <powerman@powerman.name>
|
3732
|
-
|
3733
|
-
=item *
|
3734
|
-
|
3735
|
-
Aristotle Pagaltzis <pagaltzis@gmx.de>
|
3736
|
-
|
3737
|
-
=item *
|
3738
|
-
|
3739
|
-
Chris Williams <bingos@cpan.org>
|
3740
|
-
|
3741
|
-
=item *
|
3742
|
-
|
3743
|
-
Dan Book <grinnz@grinnz.com>
|
3744
|
-
|
3745
|
-
=item *
|
3746
|
-
|
3747
|
-
Dave Rolsky <autarch@urth.org>
|
3748
|
-
|
3749
|
-
=item *
|
3750
|
-
|
3751
|
-
David Steinbrunner <dsteinbrunner@pobox.com>
|
3752
|
-
|
3753
|
-
=item *
|
3754
|
-
|
3755
|
-
Doug Bell <madcityzen@gmail.com>
|
3756
|
-
|
3757
|
-
=item *
|
3758
|
-
|
3759
|
-
Elvin Aslanov <rwp.primary@gmail.com>
|
3760
|
-
|
3761
|
-
=item *
|
3762
|
-
|
3763
|
-
Flavio Poletti <flavio@polettix.it>
|
3764
|
-
|
3765
|
-
=item *
|
3766
|
-
|
3767
|
-
Gabor Szabo <szabgab@cpan.org>
|
3768
|
-
|
3769
|
-
=item *
|
3770
|
-
|
3771
|
-
Gabriel Andrade <gabiruh@gmail.com>
|
3772
|
-
|
3773
|
-
=item *
|
3774
|
-
|
3775
|
-
George Hartzell <hartzell@cpan.org>
|
3776
|
-
|
3777
|
-
=item *
|
3778
|
-
|
3779
|
-
Geraud Continsouzas <geraud@scsi.nc>
|
3780
|
-
|
3781
|
-
=item *
|
3782
|
-
|
3783
|
-
Goro Fuji <gfuji@cpan.org>
|
3784
|
-
|
3785
|
-
=item *
|
3786
|
-
|
3787
|
-
Graham Knop <haarg@haarg.org>
|
3788
|
-
|
3789
|
-
=item *
|
3790
|
-
|
3791
|
-
Graham Ollis <plicease@cpan.org>
|
3792
|
-
|
3793
|
-
=item *
|
3794
|
-
|
3795
|
-
Ian Sillitoe <ian@sillit.com>
|
3796
|
-
|
3797
|
-
=item *
|
3798
|
-
|
3799
|
-
James Hunt <james@niftylogic.com>
|
3800
|
-
|
3801
|
-
=item *
|
3802
|
-
|
3803
|
-
John Karr <brainbuz@brainbuz.org>
|
3804
|
-
|
3805
|
-
=item *
|
3806
|
-
|
3807
|
-
Karen Etheridge <ether@cpan.org>
|
3808
|
-
|
3809
|
-
=item *
|
3810
|
-
|
3811
|
-
Mark Ellis <mark.ellis@cartridgesave.co.uk>
|
3812
|
-
|
3813
|
-
=item *
|
3814
|
-
|
3815
|
-
Martin H. Sluka <fany@cpan.org>
|
3816
|
-
|
3817
|
-
=item *
|
3818
|
-
|
3819
|
-
Martin Kjeldsen <mk@bluepipe.dk>
|
3820
|
-
|
3821
|
-
=item *
|
3822
|
-
|
3823
|
-
Mary Ehlers <regina.verb.ae@gmail.com>
|
3824
|
-
|
3825
|
-
=item *
|
3826
|
-
|
3827
|
-
Michael G. Schwern <mschwern@cpan.org>
|
3828
|
-
|
3829
|
-
=item *
|
3830
|
-
|
3831
|
-
Nicolas R <nicolas@atoomic.org>
|
3832
|
-
|
3833
|
-
=item *
|
3834
|
-
|
3835
|
-
Nicolas Rochelemagne <rochelemagne@cpanel.net>
|
3836
|
-
|
3837
|
-
=item *
|
3838
|
-
|
3839
|
-
Nigel Gregoire <nigelgregoire@gmail.com>
|
3840
|
-
|
3841
|
-
=item *
|
3842
|
-
|
3843
|
-
Philippe Bruhat (BooK) <book@cpan.org>
|
3844
|
-
|
3845
|
-
=item *
|
3846
|
-
|
3847
|
-
regina-verbae <regina-verbae@users.noreply.github.com>
|
3848
|
-
|
3849
|
-
=item *
|
3850
|
-
|
3851
|
-
Roy Ivy III <rivy@cpan.org>
|
3852
|
-
|
3853
|
-
=item *
|
3854
|
-
|
3855
|
-
Shlomi Fish <shlomif@shlomifish.org>
|
3856
|
-
|
3857
|
-
=item *
|
3858
|
-
|
3859
|
-
Smylers <Smylers@stripey.com>
|
3860
|
-
|
3861
|
-
=item *
|
3862
|
-
|
3863
|
-
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
|
3864
|
-
|
3865
|
-
=item *
|
3866
|
-
|
3867
|
-
Toby Inkster <tobyink@cpan.org>
|
3868
|
-
|
3869
|
-
=item *
|
3870
|
-
|
3871
|
-
Yanick Champoux <yanick@babyl.dyndns.org>
|
3872
|
-
|
3873
|
-
=item *
|
3874
|
-
|
3875
|
-
김도형 - Keedi Kim <keedi@cpan.org>
|
3876
|
-
|
3877
|
-
=back
|
3878
|
-
|
3879
|
-
=head1 COPYRIGHT AND LICENSE
|
3880
|
-
|
3881
|
-
This software is Copyright (c) 2014 by David Golden.
|
3882
|
-
|
3883
|
-
This is free software, licensed under:
|
3884
|
-
|
3885
|
-
The Apache License, Version 2.0, January 2004
|
3886
|
-
|
3887
|
-
=cut
|